/trunk/main.c |
---|
107,6 → 107,7 |
u32 MaxRadius_in_m = 0; |
s8 ErrorMSG[25]; |
//---------------------------------------------------------------------------------------------------- |
void SCU_Config(void) |
{ |
/trunk/main.h |
---|
14,7 → 14,7 |
#define VERSION_MAJOR 2 |
#define VERSION_MINOR 5 |
#define VERSION_PATCH 2 |
#define VERSION_PATCH 3 |
// 0 = A |
// 1 = B |
// 2 = C |
/trunk/spi_slave.c |
---|
674,7 → 674,6 |
NaviData.UBat = FC.BAT_Voltage; |
NaviData.Current = FC.BAT_Current; |
NaviData.UsedCapacity = FC.BAT_UsedCapacity; |
break; |
case SPI_FCCMD_PARAMETER1: |
Parameter.LowVoltageWarning = FromFlightCtrl.Param.Byte[0]; |
/trunk/waypoints.c |
---|
76,6 → 76,7 |
u8 WPCount = 0; // number of waypoints |
u8 PointCount = 0; // number of points in the list can be maximal equal to MAX_LIST_LEN |
u8 POICount = 0; // number of point of interest in the list |
s16 HeadingOld = -1; |
u8 WPActive = FALSE; |
95,7 → 96,7 |
WPActive = FALSE; |
NaviData.WaypointNumber = WPCount; |
NaviData.WaypointIndex = 0; |
for(i = 0; i < MAX_LIST_LEN; i++) |
{ |
PointList[i].Position.Status = INVALID; |
495,7 → 496,7 |
// clear point list first |
PointList_Clear(); |
HeadingOld = -1; // updates the direction if the new direction is the same like last time |
UART1_PutString("\n\r Read "); |
UART1_PutString(filename); |
UART1_PutString("..."); |
/trunk/waypoints.h |
---|
76,5 → 76,6 |
u8 PointList_LoadSinglePoint(WPL_Store_t * pWPL_Store); |
extern void ClearWLP_Name(void); |
extern s16 HeadingOld; |
#endif // _WAYPOINTS_H |