sysLog fixed, added logging library (for serial & syslog)

This commit is contained in:
2020-05-31 18:14:10 +03:00
parent 00e631515f
commit 8c95732164
16 changed files with 161 additions and 26 deletions

View File

@@ -64,6 +64,9 @@
//#include <EEPROM.h>
#endif
#include "streamlog.h"
extern Streamlog debugSerial;
#if defined(__SAM3X8E__)
#define wdt_res() watchdogReset()
#define wdt_en()
@@ -186,7 +189,7 @@ typedef union {
uint8_t UID_Byte[20];
} UID;
bool isNotRetainingStatus();
bool isNotRetainingStatus();
//void watchdogSetup(void);
void mqttCallback(char *topic, byte *payload, unsigned int length);