Commit 2c51abbc authored by Sven Greiner's avatar Sven Greiner

Make battcheck adjustable

parent 31c0564d
......@@ -472,7 +472,7 @@ int main(void) {
const uint8_t voltage = battery_voltage();
uint8_t i = 3;
uint8_t i = sizeof(voltage_table) - 1;
while (voltage < voltage_table[i]) {
--i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment