ESP32-PaxCounter/include/cyclic.h

26 lines
462 B
C
Raw Normal View History

2018-07-31 00:00:24 +02:00
#ifndef _CYCLIC_H
#define _CYCLIC_H
2018-07-22 20:27:58 +02:00
2018-10-03 23:07:22 +02:00
#include "globals.h"
#include "senddata.h"
#include "rcommand.h"
#include "spislave.h"
#include <lmic.h>
#ifdef HAS_BME
#include "bme680mems.h"
#endif
// Needed for RTC time sync if RTC present on board
#ifdef HAS_RTC
#include "rtc.h"
#endif
2018-09-21 18:23:34 +02:00
void doHousekeeping(void);
void do_timesync(void);
2018-07-23 13:20:06 +02:00
uint64_t uptime(void);
void reset_counters(void);
int redirect_log(const char *fmt, va_list args);
2018-12-22 14:37:47 +01:00
uint32_t getFreeRAM();
2018-07-22 20:27:58 +02:00
#endif