Log

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Mon Feb 04 15:26:50 2019 +0000
Revision:
16:5c41b457c7f3
Parent:
13:fb7f40c2e446
Child:
17:7acb89d71f48
Made char const char

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 11:aff6dd8238ef 1 #include <stdarg.h>
andrewboyson 12:19c2d4943124 2 #include <time.h>
andrewboyson 12:19c2d4943124 3 #include <stdbool.h>
andrewboyson 11:aff6dd8238ef 4
andrewboyson 13:fb7f40c2e446 5 extern bool LogUart;
andrewboyson 13:fb7f40c2e446 6 extern void LogInit(void (*tmFunction)(struct tm* ptm), int baud); //Set baud to 0 if no serial
andrewboyson 12:19c2d4943124 7 extern void LogMain(void);
andrewboyson 13:fb7f40c2e446 8
andrewboyson 13:fb7f40c2e446 9 extern void LogClear(void);
andrewboyson 9:d2c41855ed09 10
andrewboyson 16:5c41b457c7f3 11 extern void LogChar(const char c);
andrewboyson 16:5c41b457c7f3 12 extern int Log(const char* snd);
andrewboyson 16:5c41b457c7f3 13 extern int LogV(const char *fmt, va_list argptr);
andrewboyson 16:5c41b457c7f3 14 extern int LogF(const char *fmt, ...);
andrewboyson 16:5c41b457c7f3 15 extern int LogTime(const char *snd);
andrewboyson 16:5c41b457c7f3 16 extern int LogTimeF(const char *fmt, ...);
andrewboyson 9:d2c41855ed09 17
andrewboyson 0:9907e344c82a 18 extern void LogEnumerateStart(void);
andrewboyson 0:9907e344c82a 19 extern int LogEnumerate(void);
andrewboyson 12:19c2d4943124 20 extern void LogEnable(bool value);