Add missing breaks
This commit is contained in:
parent
395be23d74
commit
43911bb4ae
2 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,7 @@ static void loop() {
|
|||
if (msg.flags.rtr) {
|
||||
send_status();
|
||||
}
|
||||
break;
|
||||
case 0x4f:
|
||||
if (msg.length == 1) {
|
||||
report_change = msg.data[0] ? true : false;
|
||||
|
|
|
@ -137,6 +137,7 @@ static void loop() {
|
|||
if (msg.flags.rtr) {
|
||||
send_status();
|
||||
}
|
||||
break;
|
||||
case 0x21:
|
||||
if (msg.length == 1) {
|
||||
// stop (d0 = 0) or fire relay (d0 = 1..5)
|
||||
|
@ -144,6 +145,7 @@ static void loop() {
|
|||
// also send out the current status
|
||||
send_status();
|
||||
}
|
||||
break;
|
||||
case 0x4f:
|
||||
if (msg.length == 1) {
|
||||
report_change = msg.data[0] ? true : false;
|
||||
|
|
Loading…
Reference in a new issue