Browse Source
MI - find priority inverter
remove unnecessary type checks
pull/846/head
rejoe2
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/hm/hmPayload.h
-
src/hm/miPayload.h
|
|
@ -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; |
|
|
|
} |
|
|
|