mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
fix sdlog
This commit is contained in:
@@ -87,8 +87,8 @@ bool_t chibios_logInit(const bool_t binaryFile)
|
||||
chibios_sdlog.device.check_free_space = (check_free_space_t) sdlog_check_free_space;
|
||||
chibios_sdlog.device.transmit = (transmit_t) sdlog_transmit;
|
||||
chibios_sdlog.device.send_message = (send_message_t) sdlog_send;
|
||||
chibios_sdlog.device.char_available = (char_available_t) null; // read only
|
||||
chibios_sdlog.device.getchar = (getchar_t) null; // read only
|
||||
chibios_sdlog.device.char_available = (char_available_t) null_function; // read only
|
||||
chibios_sdlog.device.getchar = (getchar_t) null_function; // read only
|
||||
|
||||
if (sdLogInit (NULL) != SDLOG_OK)
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user