Log
Dependents: oldheating gps motorhome heating
log.h@13:fb7f40c2e446, 2018-02-02 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Feb 02 15:51:36 2018 +0000
- Revision:
- 13:fb7f40c2e446
- Parent:
- 12:19c2d4943124
- Child:
- 16:5c41b457c7f3
Baud specified in initialisation routine
Who changed what in which revision?
User | Revision | Line number | New 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 | 9:d2c41855ed09 | 11 | extern void LogPush(char c); |
andrewboyson | 10:cf815db8ed57 | 12 | extern int Log(char* snd); |
andrewboyson | 10:cf815db8ed57 | 13 | extern int LogV(char *fmt, va_list argptr); |
andrewboyson | 10:cf815db8ed57 | 14 | extern int LogF(char *fmt, ...); |
andrewboyson | 10:cf815db8ed57 | 15 | extern int LogTime(char *snd); |
andrewboyson | 10:cf815db8ed57 | 16 | extern int LogTimeF(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); |