mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
e7702bb0e2
- FAT changed to support the new opendir/readdir/closedir mechanism, and to use lseek directly instead of ioctl (also fixed a bug in FAT's lseek that always returned 0 instead of file position). - ET-STM32 console moved to UART2@19200bps (to allow RFS to run on UART0). If UART0 is needee for console, remember to disable RFS. - freed 700+ bytes of RAM by changing the devman implementation to keep pointers instead of actual DM_DEVICE structures - other minor code changes and fixes
14 lines
230 B
C
14 lines
230 B
C
// Simple logging functions for the RFS server
|
|
|
|
#ifndef __LOG_H__
|
|
#define __LOG_H__
|
|
|
|
// Logging levels
|
|
#define LOG_NONE 0
|
|
#define LOG_ALL 1
|
|
|
|
void log_init( int level );
|
|
void log_msg( const char *msg, ... );
|
|
|
|
#endif
|