mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 16:56:34 +00:00
Merge pull request #16850 from christiankarsch/development
Added stop-condition before start-condition
This commit is contained in:
commit
68f8b684a3
@ -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…
x
Reference in New Issue
Block a user