81,7 → 81,7 |
} |
else Piep(WinkelOut.CalcState,150); |
} |
DebugOut.Analog[19] = WinkelOut.CalcState; |
//DebugOut.Analog[19] = WinkelOut.CalcState; // MartinR wird in fc.c verwendet |
} |
|
|
108,7 → 108,8 |
} |
} |
else BattLowVoltageWarning = EE_Parameter.UnterspannungsWarnung; |
if(print) printf(" Low warning: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10); |
//if(print) printf(" Low warning: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10); |
if(print) printf("Low Batt level: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10); /// Martinw; removed memorysaving |
} |
|
//############################################################################ |
213,7 → 214,8 |
|
//if(EE_Parameter.GlobalConfig & CFG_HOEHENREGELUNG) |
{ |
printf("\n\rCalibrating pressure sensor.."); |
//printf("\n\rCalibrating pressure sensor.."); |
printf("\n\rCal. pressure sensor");/// Martinw; removed memorysaving |
timer = SetDelay(1000); |
SucheLuftruckOffset(); |
while (!CheckDelay(timer)); |
238,7 → 240,11 |
} |
printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt); |
|
#ifdef WITH_MKTOOL_Display // MartinW; for no MKT Display main.h |
#warning : "### with MKTool Display ###" |
LcdClear(); |
#endif |
|
I2CTimeout = 5000; |
WinkelOut.Orientation = 1; |
LipoDetection(1); |
252,6 → 258,14 |
DebugOut.Status[0] = 0x01 | 0x02; |
JetiBeep = 0; |
if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
|
//#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) ///MartinW; only for 1284er |
//#warning : "### with Sponsored Message ###" |
// printf("\n\rJETI+ / HoTT+ Version sponsored by Flyinghigh.ch, progammed by metro, MartinW\n\r"); |
printf("\n\rACC-HH Version progammed by MartinR\n\r"); |
//#endif |
|
|
while (1) |
{ |
if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off |