Rev 2110 | Rev 2130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2110 | Rev 2119 | ||
---|---|---|---|
Line 133... | Line 133... | ||
133 | usart0_processRxData(); |
133 | usart0_processRxData(); |
Line 134... | Line 134... | ||
134 | 134 | ||
135 | if (checkDelay(timer)) { |
135 | if (checkDelay(timer)) { |
136 | // Do nothing. The voltage on the input side of the regulator is <5V; |
136 | // Do nothing. The voltage on the input side of the regulator is <5V; |
137 | // we must be running off USB power. Keep it quiet. |
137 | // we must be running off USB power. Keep it quiet. |
138 | } else if (UBat < staticParams.batteryVoltageWarning && UBat > UBAT_AT_5V) { |
138 | } else if (UBat < staticParams.batteryWarningVoltage && UBat > UBAT_AT_5V) { |
139 | beepBatteryAlarm(); |
139 | beepBatteryAlarm(); |
Line 140... | Line 140... | ||
140 | } |
140 | } |
141 | 141 |