diff --git a/sw/airborne/subsystems/chibios-libopencm3/chibios_sdlog.c b/sw/airborne/subsystems/chibios-libopencm3/chibios_sdlog.c index aaef1b46ae..3d3122dc71 100644 --- a/sw/airborne/subsystems/chibios-libopencm3/chibios_sdlog.c +++ b/sw/airborne/subsystems/chibios-libopencm3/chibios_sdlog.c @@ -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;