Extend auto scale to 24kW as per request

This commit is contained in:
Carsten Schmiemann 2022-11-20 02:48:42 +01:00
parent 49cfd69b17
commit a4675cccc8
1 changed files with 7 additions and 0 deletions

View File

@ -301,6 +301,13 @@ void display_screen_graph(float *values, char* key, int type, int buffersize)
if (max > 14000) { graph_max_kW = 15000; }
if (max > 15000) { graph_max_kW = 16000; }
if (max > 16000) { graph_max_kW = 17000; }
if (max > 17000) { graph_max_kW = 18000; }
if (max > 18000) { graph_max_kW = 19000; }
if (max > 19000) { graph_max_kW = 20000; }
if (max > 20000) { graph_max_kW = 21000; }
if (max > 21000) { graph_max_kW = 22000; }
if (max > 22000) { graph_max_kW = 23000; }
if (max > 23000) { graph_max_kW = 24000; }
if ((graph_max_kW/1000) < 10)
{