Skip to content

Commit

Permalink
fix minor notification bug
Browse files Browse the repository at this point in the history
  • Loading branch information
visualapproach committed Jul 23, 2024
1 parent 7730435 commit 5a08692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/lib/BWC_unified/bwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ void BWC::_handleNotification()
}
/* not the time yet*/
int timetogo = _command_que[0].xtime - _timestamp_secs;
if(timetogo > _next_notification_time) return;
if(timetogo >= _next_notification_time) return;
/* only _notify for these commands*/
if(!(_command_que[0].cmd == SETBUBBLES || _command_que[0].cmd == SETHEATER || _command_que[0].cmd == SETJETS || _command_que[0].cmd == SETPUMP)) return;

Expand Down

0 comments on commit 5a08692

Please sign in to comment.