Skip to content

Commit

Permalink
removed test code
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-ha committed Mar 11, 2024
1 parent 3d7c148 commit c1bc1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model_adc.h
Expand Up @@ -45,7 +45,7 @@ class BatteryVoltage {
int coin_adc = analogRead(BATTERY_ADC);
float coin_voltage = (float)coin_adc * analogRef / analogBits;
// return GOOD_BATTERY_MINIMUM - 0.1; // debug - show yellow icon
return WARNING_BATTERY_MINIMUM - 0.1; // debug - show red icon
// return WARNING_BATTERY_MINIMUM - 0.1; // debug - show red icon
return coin_voltage; // production release
}

Expand Down

0 comments on commit c1bc1f8

Please sign in to comment.