mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
Added 4th dimming step
It wasn't a good idea to cycle through three dimming steps only, as the 4th would be triggered by the toggle, but nothing happened (`Color 203` got ignored).
This commit is contained in:
parent
bd0323f6f2
commit
170013c1e1
@ -72,8 +72,8 @@ const LRgbColor kFixedColor[MAX_FIXED_COLOR] PROGMEM =
|
|||||||
struct LWColor {
|
struct LWColor {
|
||||||
uint8_t W;
|
uint8_t W;
|
||||||
};
|
};
|
||||||
#define MAX_FIXED_WHITE 3
|
#define MAX_FIXED_WHITE 4
|
||||||
const LWColor kFixedWhite[MAX_FIXED_WHITE] PROGMEM = { 0, 255, 128 };
|
const LWColor kFixedWhite[MAX_FIXED_WHITE] PROGMEM = { 0, 255, 128, 32 };
|
||||||
|
|
||||||
struct LCwColor {
|
struct LCwColor {
|
||||||
uint8_t C, W;
|
uint8_t C, W;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user