Header updates to match

This commit is contained in:
Ben V. Brown
2020-07-28 20:10:34 +10:00
parent d35b2bf115
commit 9832b97248
3 changed files with 4 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
#define PDB_EVT_PE_HARD_SENT EVENT_MASK(4)
#define PDB_EVT_PE_I_OVRTEMP EVENT_MASK(5)
#define PDB_EVT_PE_PPS_REQUEST EVENT_MASK(6)
#define PDB_EVT_PE_MSG_RX_PEND EVENT_MASK(7) /* Never SEND THIS DIRECTLY*/
class PolicyEngine {
public:
@@ -123,7 +124,7 @@ private:
static QueueHandle_t messagesWaiting;
static bool messageWaiting();
//Read a pending message into the temp message
static void readMessage();
static bool readMessage();
static void start_pps_timer();
static void stop_pps_timer();

View File

@@ -25,6 +25,7 @@
/* Events for the Protocol RX thread */
#define PDB_EVT_PRLRX_RESET EVENT_MASK(0)
#define PDB_EVT_PRLRX_I_GCRCSENT EVENT_MASK(1)
#define PDB_EVT_PRLRX_I_RXPEND EVENT_MASK(2)
class ProtocolReceive {
public:

View File

@@ -49,6 +49,7 @@ private:
static const size_t TaskStackSize = 1024 / 4;
static uint32_t TaskBuffer[TaskStackSize];
static osStaticThreadDef_t TaskControlBlock;
static bool messageSending;
/*
* Protocol TX machine states
*