Log
Dependents: oldheating gps motorhome heating
Diff: log.h
- Revision:
- 13:fb7f40c2e446
- Parent:
- 12:19c2d4943124
- Child:
- 16:5c41b457c7f3
--- a/log.h Thu Jan 11 17:39:18 2018 +0000 +++ b/log.h Fri Feb 02 15:51:36 2018 +0000 @@ -2,10 +2,11 @@ #include <time.h> #include <stdbool.h> -extern void (*LogTmFunction)(struct tm* ptm); -extern void LogInit(void); +extern bool LogUart; +extern void LogInit(void (*tmFunction)(struct tm* ptm), int baud); //Set baud to 0 if no serial extern void LogMain(void); -extern bool LogUart; + +extern void LogClear(void); extern void LogPush(char c); extern int Log(char* snd);