first gpio and low-level logging

This commit is contained in:
2019-11-29 01:52:56 -07:00
parent 69341fb6cf
commit 2da798238b
4 changed files with 251 additions and 0 deletions

12
src/log.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef __LOG_H_INCLUDED
#define __LOG_H_INCLUDED
#define LFATAL 0
#define LERROR 1
#define LWARN 2
#define LINFO 3
#define LDEBUG 4
extern void log(int level, const char *format, ...);
#endif /* __LOG_H_INCLUDED */