diff options
author | Ben V. Brown <Ralim@Ralimtek.com> | 2022-06-23 14:04:33 +0300 |
---|---|---|
committer | Ben V. Brown <Ralim@Ralimtek.com> | 2022-06-23 14:04:33 +0300 |
commit | 67875095963d46bda6dbeb631acb48c34cb7e09b (patch) | |
tree | c62fef209a4dce50a778cbf0d2b43d27752c51f0 | |
parent | d46289acdbe004e13d40d5024850abb7b3638b0f (diff) |
Also unblock message tx on message rx
-rw-r--r-- | src/policy_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy_engine.cpp b/src/policy_engine.cpp index ccc3a93..c1f5961 100644 --- a/src/policy_engine.cpp +++ b/src/policy_engine.cpp @@ -228,7 +228,7 @@ PolicyEngine::policy_engine_state PolicyEngine::pe_start_message_tx(PolicyEngine #endif // Setup waiting for notification - return waitForEvent(PEWaitingMessageTx, (uint32_t)Notifications::RESET | (uint32_t)Notifications::I_TXSENT | (uint32_t)Notifications::I_RETRYFAIL, 0xFFFFFFFF); + return waitForEvent(PEWaitingMessageTx, (uint32_t)Notifications::RESET | (uint32_t)Notifications::MSG_RX | (uint32_t)Notifications::I_TXSENT | (uint32_t)Notifications::I_RETRYFAIL, 0xFFFFFFFF); } void PolicyEngine::clearEvents(uint32_t notification) { currentEvents &= ~notification; } |