code sanitizations
This commit is contained in:
parent
0aa29161dc
commit
3d08ed98fd
@ -15,7 +15,7 @@ void sendData(void);
|
|||||||
void checkSendQueues(void);
|
void checkSendQueues(void);
|
||||||
void flushQueues(void);
|
void flushQueues(void);
|
||||||
bool allQueuesEmtpy(void);
|
bool allQueuesEmtpy(void);
|
||||||
void setSendIRQ(TimerHandle_t xTimer);
|
//void setSendIRQ(TimerHandle_t xTimer);
|
||||||
void setSendIRQ(void);
|
void setSendIRQ(void);
|
||||||
|
|
||||||
#endif // _SENDDATA_H_
|
#endif // _SENDDATA_H_
|
||||||
|
@ -71,7 +71,7 @@ PMUIRQ <- GPIO <- PMU chip
|
|||||||
Application IRQs fired by software:
|
Application IRQs fired by software:
|
||||||
TIMESYNC_IRQ <- setTimeSyncIRQ() <- Ticker.h
|
TIMESYNC_IRQ <- setTimeSyncIRQ() <- Ticker.h
|
||||||
CYCLIC_IRQ <- setCyclicIRQ() <- Ticker.h
|
CYCLIC_IRQ <- setCyclicIRQ() <- Ticker.h
|
||||||
SENDCYCLE_IRQ <- setSendIRQ() <- xTimer or libpax callback
|
SENDCYCLE_IRQ <- setSendIRQ() <- libpax callback
|
||||||
BME_IRQ <- setBMEIRQ() <- Ticker.h
|
BME_IRQ <- setBMEIRQ() <- Ticker.h
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
// Basic Config
|
// Basic Config
|
||||||
#include "senddata.h"
|
#include "senddata.h"
|
||||||
|
|
||||||
|
// void setSendIRQ(TimerHandle_t xTimer) {
|
||||||
|
// xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits);
|
||||||
|
//}
|
||||||
|
|
||||||
void setSendIRQ(TimerHandle_t xTimer) {
|
// void setSendIRQ(void) { setSendIRQ(NULL); }
|
||||||
xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits);
|
|
||||||
}
|
|
||||||
|
|
||||||
void setSendIRQ(void) { setSendIRQ(NULL); }
|
void setSendIRQ(void) { xTaskNotify(irqHandlerTask, SENDCYCLE_IRQ, eSetBits); }
|
||||||
|
|
||||||
// put data to send in RTos Queues used for transmit over channels Lora and SPI
|
// put data to send in RTos Queues used for transmit over channels Lora and SPI
|
||||||
void SendPayload(uint8_t port) {
|
void SendPayload(uint8_t port) {
|
||||||
|
Loading…
Reference in New Issue
Block a user