fix sdlog

This commit is contained in:
Gautier Hattenberger
2015-03-16 23:52:16 +01:00
parent 34cb20bedc
commit 9c1fff29a9
@@ -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;