ESP32-PaxCounter/include/cyclic.h
2019-02-04 20:02:30 +01:00

24 lines
390 B
C

#ifndef _CYCLIC_H
#define _CYCLIC_H
#include "globals.h"
#include "senddata.h"
#include "rcommand.h"
#include "spislave.h"
#include <lmic.h>
#ifdef HAS_BME
#include "bme680mems.h"
#endif
#ifdef HAS_RTC
#include "rtctime.h"
#endif
void doHousekeeping(void);
uint64_t uptime(void);
void reset_counters(void);
int redirect_log(const char *fmt, va_list args);
uint32_t getFreeRAM();
#endif