Add missing breaks

This commit is contained in:
Gregor Riepl 2021-01-18 20:25:36 +01:00
parent 395be23d74
commit 43911bb4ae
2 changed files with 3 additions and 0 deletions

View file

@ -77,6 +77,7 @@ static void loop() {
if (msg.flags.rtr) { if (msg.flags.rtr) {
send_status(); send_status();
} }
break;
case 0x4f: case 0x4f:
if (msg.length == 1) { if (msg.length == 1) {
report_change = msg.data[0] ? true : false; report_change = msg.data[0] ? true : false;

View file

@ -137,6 +137,7 @@ static void loop() {
if (msg.flags.rtr) { if (msg.flags.rtr) {
send_status(); send_status();
} }
break;
case 0x21: case 0x21:
if (msg.length == 1) { if (msg.length == 1) {
// stop (d0 = 0) or fire relay (d0 = 1..5) // stop (d0 = 0) or fire relay (d0 = 1..5)
@ -144,6 +145,7 @@ static void loop() {
// also send out the current status // also send out the current status
send_status(); send_status();
} }
break;
case 0x4f: case 0x4f:
if (msg.length == 1) { if (msg.length == 1) {
report_change = msg.data[0] ? true : false; report_change = msg.data[0] ? true : false;