Subversion Repositories FlightCtrl

Rev

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

Rev 2110 Rev 2119
Line 140... Line 140...
140
 
140
 
141
        if (checkDelay(timer)) {
141
        if (checkDelay(timer)) {
142
          if (UBat <= UBAT_AT_5V) {
142
          if (UBat <= UBAT_AT_5V) {
143
            // Do nothing. The voltage on the input side of the regulator is <5V;
143
            // Do nothing. The voltage on the input side of the regulator is <5V;
144
            // we must be running off USB power. Keep it quiet.
144
            // we must be running off USB power. Keep it quiet.
145
          } else if (UBat < staticParams.batteryVoltageWarning) {
145
          } else if (UBat < staticParams.batteryWarningVoltage) {
146
            beepBatteryAlarm();
146
            beepBatteryAlarm();
Line 147... Line 147...
147
          }
147
          }
148
 
148