diff --git a/tasmota/settings.h b/tasmota/settings.h index d524153aa..23a477e12 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -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 diff --git a/tasmota/xdsp_11_sevenseg.ino b/tasmota/xdsp_11_sevenseg.ino index 80056aa6e..20193e54e 100644 --- a/tasmota/xdsp_11_sevenseg.ino +++ b/tasmota/xdsp_11_sevenseg.ino @@ -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();