mirror of https://github.com/arendst/Tasmota.git
Fix DisplaySevenSegment compilation error
This commit is contained in:
parent
b058fb0dfc
commit
c333b67669
|
@ -239,8 +239,6 @@ void SevensegTime(boolean time_24)
|
|||
sevenseg.writeDisplay();
|
||||
}
|
||||
|
||||
#endif // USE_DISPLAY_MODES1TO5
|
||||
|
||||
void SevensegRefresh(void) // Every second
|
||||
{
|
||||
if (disp_power) {
|
||||
|
@ -262,6 +260,8 @@ void SevensegRefresh(void) // Every second
|
|||
}
|
||||
}
|
||||
|
||||
#endif // USE_DISPLAY_MODES1TO5
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Interface
|
||||
\*********************************************************************************************/
|
||||
|
@ -286,9 +286,11 @@ bool Xdsp11(uint8_t function)
|
|||
case FUNC_DISPLAY_CLEAR:
|
||||
SevensegClear();
|
||||
break;
|
||||
#ifdef USE_DISPLAY_MODES1TO5
|
||||
case FUNC_DISPLAY_EVERY_SECOND:
|
||||
SevensegRefresh();
|
||||
break;
|
||||
#endif // USE_DISPLAY_MODES1TO5
|
||||
case FUNC_DISPLAY_ONOFF:
|
||||
case FUNC_DISPLAY_POWER:
|
||||
SevensegOnOff();
|
||||
|
|
Loading…
Reference in New Issue