senddata.cpp sanitized
This commit is contained in:
parent
8e4fe93069
commit
88efd5dd4d
@ -16,7 +16,7 @@ void sendData(void);
|
||||
void checkSendQueues(void);
|
||||
void flushQueues(void);
|
||||
bool allQueuesEmtpy(void);
|
||||
void setSendIRQ(TimerHandle_t xTimer = NULL);
|
||||
void setSendIRQ(TimerHandle_t xTimer);
|
||||
void setSendIRQ(void);
|
||||
void initSendDataTimer(uint8_t sendcycle);
|
||||
|
||||
|
@ -70,7 +70,7 @@ PMUIRQ <- GPIO <- PMU chip
|
||||
Application IRQs fired by software:
|
||||
TIMESYNC_IRQ <- setTimeSyncIRQ() <- Ticker.h
|
||||
CYCLIC_IRQ <- setCyclicIRQ() <- Ticker.h
|
||||
SENDCYCLE_IRQ <- setSendIRQ() <- xTimer
|
||||
SENDCYCLE_IRQ <- setSendIRQ() <- xTimer or libpax callback
|
||||
BME_IRQ <- setBMEIRQ() <- Ticker.h
|
||||
|
||||
*/
|
||||
|
@ -5,9 +5,7 @@ void setSendIRQ(TimerHandle_t xTimer) {
|
||||
xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits);
|
||||
}
|
||||
|
||||
#if ((WIFICOUNTER) || (BLECOUNTER))
|
||||
void setSendIRQ(void) { setSendIRQ(NULL); }
|
||||
#endif
|
||||
|
||||
void initSendDataTimer(uint8_t sendcycle) {
|
||||
static TimerHandle_t SendDataTimer = NULL;
|
||||
@ -71,7 +69,7 @@ void SendPayload(uint8_t port) {
|
||||
|
||||
} // SendPayload
|
||||
|
||||
// interrupt triggered function to prepare payload to send
|
||||
// timer triggered function to prepare payload to send
|
||||
void sendData() {
|
||||
|
||||
uint8_t bitmask = cfg.payloadmask;
|
||||
|
Loading…
Reference in New Issue
Block a user