Log
Dependents: oldheating gps motorhome heating
Diff: log.h
- Revision:
- 12:19c2d4943124
- Parent:
- 11:aff6dd8238ef
- Child:
- 13:fb7f40c2e446
--- a/log.h Sat Dec 16 14:41:46 2017 +0000 +++ b/log.h Thu Jan 11 17:39:18 2018 +0000 @@ -1,6 +1,10 @@ #include <stdarg.h> +#include <time.h> +#include <stdbool.h> -extern int LogInit(); +extern void (*LogTmFunction)(struct tm* ptm); +extern void LogInit(void); +extern void LogMain(void); extern bool LogUart; extern void LogPush(char c); @@ -12,4 +16,4 @@ extern void LogEnumerateStart(void); extern int LogEnumerate(void); -extern void LogEnable(int on); +extern void LogEnable(bool value);