Remove redundant rtr check

This commit is contained in:
Gregor Riepl 2021-01-18 20:26:19 +01:00
parent 43911bb4ae
commit 54b7440f90
2 changed files with 2 additions and 6 deletions

View file

@ -74,9 +74,7 @@ static void loop() {
if (status != 0) { if (status != 0) {
switch (msg.id) { switch (msg.id) {
case 0x10: case 0x10:
if (msg.flags.rtr) { send_status();
send_status();
}
break; break;
case 0x4f: case 0x4f:
if (msg.length == 1) { if (msg.length == 1) {

View file

@ -134,9 +134,7 @@ static void loop() {
if (status != 0) { if (status != 0) {
switch (msg.id) { switch (msg.id) {
case 0x11: case 0x11:
if (msg.flags.rtr) { send_status();
send_status();
}
break; break;
case 0x21: case 0x21:
if (msg.length == 1) { if (msg.length == 1) {