ESP32-PaxCounter/include/senddata.h

28 lines
412 B
C
Raw Normal View History

2018-07-17 15:15:58 +02:00
#ifndef _SENDDATA_H
#define _SENDDATA_H
2018-07-14 19:12:20 +02:00
2018-11-03 20:44:54 +01:00
#include "spislave.h"
2019-10-01 18:06:49 +02:00
#include "cyclic.h"
#if(HAS_LORA)
2018-11-03 20:44:54 +01:00
#include "lorawan.h"
#endif
2019-10-01 18:06:49 +02:00
#ifdef HAS_DISPLAY
#include "display.h"
#endif
2018-11-03 20:44:54 +01:00
2019-12-25 23:07:34 +01:00
#ifdef HAS_SDCARD
#include "sdcard.h"
#endif
extern Ticker sendcycler;
void SendPayload(uint8_t port, sendprio_t prio);
2019-08-30 18:54:53 +02:00
void sendData(void);
2018-09-22 21:26:11 +02:00
void checkSendQueues(void);
2018-08-05 12:16:54 +02:00
void flushQueues();
void sendcycle(void);
2018-07-14 19:12:20 +02:00
#endif // _SENDDATA_H_