mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-03 08:28:20 +02:00
MI - find priority inverter
remove unnecessary type checks
This commit is contained in:
parent
88f5120fc0
commit
f4accf1e37
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class HmPayload {
|
|||
}
|
||||
|
||||
void loop() {
|
||||
if ( NULL != mHighPrioIv && mHighPrioIv->ivGen == IV_HM ) {
|
||||
if (NULL != mHighPrioIv) {
|
||||
ivSend(mHighPrioIv, true);
|
||||
mHighPrioIv = NULL;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ class MiPayload {
|
|||
}
|
||||
|
||||
void loop() {
|
||||
if ( NULL != mHighPrioIv && mHighPrioIv->ivGen == IV_MI ) {
|
||||
if (NULL != mHighPrioIv) {
|
||||
ivSend(mHighPrioIv, true); // for e.g. devcontrol commands
|
||||
mHighPrioIv = NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue