@ -34,12 +34,11 @@ class DisplayMono84X48 : public DisplayMono {
// Layout-Test
/*
mDisplayData->nrSleeping=0;
mDisplayData->nrProducing=1;
mDisplayData->totalPower=12345.67;
mDisplayData->totalYieldDay=12345.67;
mDisplayData->totalYieldTotal=1234;
mDisplayData->utcTs+=1000000;
mDisplayData->nrSleeping=10;
mDisplayData->nrProducing=10;
mDisplayData->totalPower=111.91;// W
mDisplayData->totalYieldDay=54321.9;// Wh
mDisplayData->totalYieldTotal=654321.9;// kWh
mDisplay->drawPixel(0,0);
mDisplay->drawPixel(mDispWidth-1,0);
mDisplay->drawPixel(0,mDispHeight-1);
@ -48,12 +47,10 @@ class DisplayMono84X48 : public DisplayMono {
// print total power
if(mDisplayData->nrProducing>0){
if(mDisplayData->totalPower>9999)
snprintf(mFmtText,DISP_FMT_TEXT_LEN,"%.2fkW",(mDisplayData->totalPower/1000));// forgo spacing between value and SI unit in favor of second position after decimal point