Send out status after firing a relay
This commit is contained in:
parent
cd807bed92
commit
99cb7bc033
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ static void loop() {
|
||||||
case 0x21:
|
case 0x21:
|
||||||
if (msg.length == 1) {
|
if (msg.length == 1) {
|
||||||
fire_relay(msg.data[0]);
|
fire_relay(msg.data[0]);
|
||||||
|
// also send out the current status
|
||||||
|
send_status();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue