Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ralim/usb-pd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/policy_engine.cpp')
-rw-r--r--src/policy_engine.cpp2
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; }