diff --git a/wled00/bus_manager.h b/wled00/bus_manager.h index ec77b889..b36f27e0 100644 --- a/wled00/bus_manager.h +++ b/wled00/bus_manager.h @@ -89,7 +89,7 @@ class Bus { } virtual uint16_t getLength() { - return 1; // is this ok? shouldn't it be 0 in virtual function? + return 1; } virtual void setColorOrder() {} diff --git a/wled00/data/settings_sync.htm b/wled00/data/settings_sync.htm index 2d513979..cb0e5b1c 100644 --- a/wled00/data/settings_sync.htm +++ b/wled00/data/settings_sync.htm @@ -99,7 +99,6 @@ Type:
Port:
diff --git a/wled00/wled.h b/wled00/wled.h index 841aef06..d1a14941 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -564,7 +564,7 @@ WLED_GLOBAL JsonDocument* fileDoc; WLED_GLOBAL bool doCloseFile _INIT(false); // presets -WLED_GLOBAL int8_t currentPreset _INIT(-1); +WLED_GLOBAL int16_t currentPreset _INIT(-1); WLED_GLOBAL byte errorFlag _INIT(0);