Subversion Repositories FlightCtrl

Rev

Rev 2030 | Rev 2050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2030 Rev 2034
Line 105... Line 105...
105
                        Piep(cells, 200);
105
                        Piep(cells, 200);
106
                        printf(" %d Cells ", cells);
106
                        printf(" %d Cells ", cells);
107
                }
107
                }
108
        }
108
        }
109
        else BattLowVoltageWarning = EE_Parameter.UnterspannungsWarnung;
109
        else BattLowVoltageWarning = EE_Parameter.UnterspannungsWarnung;
110
        if(print) printf(" Low warning level: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10);
110
        if(print) printf(" Low warning: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10);
111
}
111
}
Line 112... Line 112...
112
 
112
 
113
//############################################################################
113
//############################################################################
114
//Hauptprogramm
114
//Hauptprogramm
Line 233... Line 233...
233
        if((FlugMinutenGesamt == 0xFFFF) || (FlugMinuten == 0xFFFF))
233
        if((FlugMinutenGesamt == 0xFFFF) || (FlugMinuten == 0xFFFF))
234
        {
234
        {
235
                FlugMinuten = 0;
235
                FlugMinuten = 0;
236
                FlugMinutenGesamt = 0;
236
                FlugMinutenGesamt = 0;
237
        }
237
        }
238
    printf("\n\rFlight-time %u min  Total:%u min", FlugMinuten, FlugMinutenGesamt);
238
    printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt);
Line 239... Line 239...
239
 
239
 
240
    LcdClear();
240
    LcdClear();
241
    I2CTimeout = 5000;
241
    I2CTimeout = 5000;
242
    WinkelOut.Orientation = 1;
242
    WinkelOut.Orientation = 1;