mirror of https://github.com/arendst/Tasmota.git
Added stop-condition before start-condition
Bp5758d does not support repeated-start-condition. Therefore it overwrite the next register ('current range setup' of red-channel) A stop-condition is always needed before next start-condition
This commit is contained in:
parent
a9ba035474
commit
4ba3b58ea8
|
@ -114,6 +114,7 @@ bool Bp5758dSetChannels(void) {
|
|||
if (cur_col_10[0]==0 && cur_col_10[1]==0 && cur_col_10[2]==0 && cur_col_10[3]==0 && cur_col_10[4]==0) {
|
||||
Bp5758dStart(BP5758D_ADDR_SETUP);
|
||||
Bp5758dWrite(BP5758D_DISABLE_OUTPUTS_ALL);
|
||||
Bp5758dStop();
|
||||
Bp5758dStart(BP5758D_ADDR_SLEEP);
|
||||
Bp5758dStop();
|
||||
bIsSleeping = true;
|
||||
|
|
Loading…
Reference in New Issue