Merge pull request #16850 from christiankarsch/development

Added stop-condition before start-condition
This commit is contained in:
Theo Arends 2022-10-17 21:17:17 +02:00 committed by GitHub
commit 68f8b684a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;