mirror of https://github.com/arendst/Tasmota.git
Fix DisplaySevenSegment compilation error
This commit is contained in:
parent
b058fb0dfc
commit
c333b67669
|
@ -515,7 +515,7 @@ struct {
|
|||
uint8_t ot_hot_water_setpoint; // E8C
|
||||
uint8_t ot_boiler_setpoint; // E8D
|
||||
uint8_t ot_flags; // E8E
|
||||
uint8_t ledpwm_mask; // E8F
|
||||
uint8_t ledpwm_mask; // E8F
|
||||
uint16_t dimmer_hw_min; // E90
|
||||
uint16_t dimmer_hw_max; // E92
|
||||
uint32_t deepsleep; // E94
|
||||
|
|
|
@ -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