Collapse rx into irq

This commit is contained in:
Ben V. Brown
2021-04-05 15:57:31 +10:00
parent f12ed98991
commit fb24ba1866
7 changed files with 30 additions and 148 deletions

View File

@@ -19,7 +19,7 @@
#include "fusb302b.h"
#include "fusbpd.h"
#include "policy_engine.h"
#include "protocol_rx.h"
#include <pd.h>
osThreadId ProtocolTransmit::TaskHandle = NULL;
@@ -88,9 +88,6 @@ ProtocolTransmit::protocol_tx_state ProtocolTransmit::protocol_tx_reset() {
/* Clear MessageIDCounter */
_tx_messageidcounter = 0;
/* Tell the Protocol RX thread to reset */
ProtocolReceive::notify(PDB_EVT_PRLRX_RESET);
return PRLTxConstructMessage;
}