Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2118 → Rev 2119

/branches/dongfang_FC_fixedwing/arduino_atmega328/main.c
135,7 → 135,7
if (checkDelay(timer)) {
// 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 && UBat > UBAT_AT_5V) {
} else if (UBat < staticParams.batteryWarningVoltage && UBat > UBAT_AT_5V) {
beepBatteryAlarm();
}