Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2118 → Rev 2119

/branches/dongfang_FC_fixedwing/main.c
142,7 → 142,7
if (UBat <= UBAT_AT_5V) {
// Do nothing. The voltage on the input side of the regulator is <5V;
// we must be running off USB power. Keep it quiet.
} else if (UBat < staticParams.batteryVoltageWarning) {
} else if (UBat < staticParams.batteryWarningVoltage) {
beepBatteryAlarm();
}