Update policy_engine.cpp
This commit is contained in:
@@ -411,10 +411,9 @@ PolicyEngine::policy_engine_state PolicyEngine::pe_sink_ready() {
|
||||
|
||||
return PESinkSendSoftReset;
|
||||
}
|
||||
/* If we got an unknown message, send a soft reset ??? */
|
||||
} else {
|
||||
|
||||
return PESinkSendSoftReset;
|
||||
/* if we get an unknown message code, silently ignore it*/
|
||||
return PESinkReady;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -629,6 +628,10 @@ PolicyEngine::policy_engine_state PolicyEngine::pe_sink_source_unresponsive() {
|
||||
return PESinkSourceUnresponsive;
|
||||
}
|
||||
|
||||
uint32_t PolicyEngine::waitForEvent(uint32_t mask, TickType_t ticksToWait) { return xEventGroupWaitBits(xEventGroupHandle, mask, mask, pdFALSE, ticksToWait); }
|
||||
uint32_t PolicyEngine::waitForEvent(uint32_t mask, TickType_t ticksToWait) {
|
||||
return xEventGroupWaitBits(xEventGroupHandle, mask, mask, pdFALSE, ticksToWait);
|
||||
}
|
||||
|
||||
bool PolicyEngine::isPD3_0() { return (hdr_template & PD_HDR_SPECREV) == PD_SPECREV_3_0; }
|
||||
bool PolicyEngine::isPD3_0() {
|
||||
return (hdr_template & PD_HDR_SPECREV) == PD_SPECREV_3_0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user