/trunk/GPS.c |
---|
219,8 → 219,8 |
{ |
BeepTime = 200; // beep to indicate that mode has been switched |
NCFlags &= ~NC_FLAG_TARGET_REACHED; |
// if the mode has changed to free |
if(GPS_Parameter.FlightMode == GPS_FLIGHT_MODE_FREE) WPList_Clear(); // clear WPList if mode has changed to Free |
// if the mode has changed to free (avoid clear of WP-List when StopNavigation is active) |
if((!StopNavigation) && (GPS_Parameter.FlightMode == GPS_FLIGHT_MODE_FREE)) WPList_Clear(); // clear WPList if mode has changed to Free |
} |
FlightMode_Old = GPS_Parameter.FlightMode; |
} |
/trunk/Navi-Ctrl.Uv2 |
---|
178,7 → 178,7 |
ALDICDR () |
ALDMISC () |
ALDSCAT (.\scripts\flash_str9.ld) |
OPTDL (SARM.DLL)(-cSTR91x)(DARMST9.DLL)(-pSTR911)(SARM.DLL)(-cSTR91x)(TARMST9.DLL)(-pSTR911) |
OPTDL (SARM.DLL)(-cSTR91x)(DARMST9.DLL)(-pSTR910)(SARM.DLL)(-cSTR91x)(TARMST9.DLL)(-pSTR910) |
OPTDBG 48126,0,()()()()()()()()()() (BIN\UL2ARM.DLL)()()() |
FLASH1 { 9,0,0,0,1,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0 } |
FLASH2 (BIN\UL2ARM.DLL) |
/trunk/spi_slave.c |
---|
84,7 → 84,7 |
//communication packets |
volatile FromFlightCtrl_t FromFlightCtrl; |
volatile ToFlightCtrl_t ToFlightCtrl; |
#define SPI0_TIMEOUT 500 // 500 ms |
#define SPI0_TIMEOUT 500 // 500ms |
volatile u32 SPI0_Timeout = 0; |
// tx packet buffer |