Fixed some typos
This commit is contained in:
parent
7cf5fb88e9
commit
4dedb1eadd
|
@ -8,8 +8,8 @@ class PageBME280 : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageBME280(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageThreeValue");
|
||||
PageBME280(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageBME280");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
|
|
@ -9,8 +9,8 @@ class PageBattery : public Page
|
|||
int average = 0; // Average type [0...3], 0=off, 1=10s, 2=60s, 3=300s
|
||||
|
||||
public:
|
||||
PageBattery(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageThreeValue");
|
||||
PageBattery(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageBattery");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -348,4 +348,4 @@ PageDescription registerPageBattery(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -201,7 +201,7 @@ public:
|
|||
getdisplay().setCursor(10, 65);
|
||||
getdisplay().print("Bat.");
|
||||
|
||||
// Show batery type
|
||||
// Show battery type
|
||||
getdisplay().setTextColor(textcolor);
|
||||
getdisplay().setFont(&Ubuntu_Bold8pt7b);
|
||||
getdisplay().setCursor(90, 65);
|
||||
|
@ -218,7 +218,7 @@ public:
|
|||
getdisplay().setFont(&Ubuntu_Bold16pt7b);
|
||||
getdisplay().print("V");
|
||||
|
||||
// Show batery capacity
|
||||
// Show battery capacity
|
||||
getdisplay().setTextColor(textcolor);
|
||||
getdisplay().setFont(&DSEG7Classic_BoldItalic20pt7b);
|
||||
getdisplay().setCursor(10, 200);
|
||||
|
@ -392,4 +392,4 @@ PageDescription registerPageBattery2(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -256,7 +256,7 @@ public:
|
|||
if (value1 < 0) {value1 = value1 + 86400;}
|
||||
hour = (value1 / 3600.0);
|
||||
if(hour > 12) hour = hour - 12.0;
|
||||
// minute = (hour - int(hour)) * 3600.0 / 60.0; // Analog minute pointer smoth moving
|
||||
// minute = (hour - int(hour)) * 3600.0 / 60.0; // Analog minute pointer smooth moving
|
||||
minute = int((hour - int(hour)) * 3600.0 / 60.0); // Jumping minute pointer from minute to minute
|
||||
LOG_DEBUG(GwLog::DEBUG,"... PageClock, value1: %f hour: %f minute:%f", value1, hour, minute);
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ class PageDST810 : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageDST810(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageDST810");
|
||||
PageDST810(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageDST810");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -305,4 +305,4 @@ PageDescription registerPageDST810(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@ class PageFourValues : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageFourValues(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageFourValues");
|
||||
PageFourValues(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageFourValues");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -344,4 +344,4 @@ PageDescription registerPageFourValues(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@ class PageFourValues2 : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageFourValues2(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageFourValues2");
|
||||
PageFourValues2(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageFourValues2");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -344,4 +344,4 @@ PageDescription registerPageFourValues2(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@ class PageThreeValues : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageThreeValues(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageThreeValue");
|
||||
PageThreeValues(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageThreeValue");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -282,4 +282,4 @@ PageDescription registerPageThreeValues(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,8 @@ class PageTwoValues : public Page
|
|||
bool keylock = false; // Keylock
|
||||
|
||||
public:
|
||||
PageTwoValues(CommonData &comon){
|
||||
comon.logger->logDebug(GwLog::LOG,"Show PageTwoValue");
|
||||
PageTwoValues(CommonData &common){
|
||||
common.logger->logDebug(GwLog::LOG,"Show PageTwoValue");
|
||||
}
|
||||
|
||||
virtual int handleKey(int key){
|
||||
|
@ -222,4 +222,4 @@ PageDescription registerPageTwoValues(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -162,7 +162,7 @@ public:
|
|||
getdisplay().setCursor(270, 100);
|
||||
getdisplay().print("V");
|
||||
|
||||
// Show batery type
|
||||
// Show battery type
|
||||
getdisplay().setTextColor(textcolor);
|
||||
getdisplay().setFont(&Ubuntu_Bold8pt7b);
|
||||
getdisplay().setCursor(295, 100);
|
||||
|
@ -284,4 +284,4 @@ PageDescription registerPageVoltage(
|
|||
true // Show display header on/off
|
||||
);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue