valist in logMsg, test on platform
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#ifndef _LOGGER_H_
|
||||
#define _LOGGER_H_
|
||||
|
||||
|
||||
|
||||
// initialize the logger, creates a ringbuffer
|
||||
void logInit();
|
||||
|
||||
@ -9,7 +11,7 @@ void logFree();
|
||||
|
||||
// log a message, make sure it is a null-terminated string
|
||||
// return value can be ignored, it is only used in test
|
||||
int logMsg(char *msg);
|
||||
int logMsg(const char *format, ...);
|
||||
|
||||
// reads the ringbuffer and transfers data to output channel
|
||||
// call this from the idle-loop
|
||||
|
Reference in New Issue
Block a user