Skip to content

Commit

Permalink
Merge branch 'lincomatic:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KipK authored Apr 27, 2023
2 parents 0cafc6c + 4647293 commit 882170a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firmware/open_evse/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -920,9 +920,9 @@ void OnboardDisplay::Update(int8_t updmode)
if (!(g_TempMonitor.OverTemperature() || TEMPERATURE_DISPLAY_ALWAYS)) {
#endif // TEMPERATURE_MONITORING
#ifndef KWH_RECORDING
int h = hour(elapsedTime); // display the elapsed charge time
int m = minute(elapsedTime);
int s = second(elapsedTime);
int h = elapsedTime / 3600;
int m = (elapsedTime % 3600) / 60;
int s = elapsedTime % 60;
sprintf(g_sTmp,"%02d:%02d:%02d",h,m,s);
#ifdef RTC
g_sTmp[8]=' ';
Expand Down

0 comments on commit 882170a

Please sign in to comment.