fix build if debug uart is disabled

master
Ondřej Hruška 6 years ago
parent a1e9cf2a57
commit afee9ab6a3
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      framework/system_settings.c

@ -140,11 +140,13 @@ void systemsettings_mco_init(void)
void systemsettings_debug_uart_init_deinit(void) void systemsettings_debug_uart_init_deinit(void)
{ {
#if USE_DEBUG_UART
if (SystemSettings.enable_debug_uart) { if (SystemSettings.enable_debug_uart) {
DebugUart_Init(); DebugUart_Init();
} else { } else {
DebugUart_Teardown(); DebugUart_Teardown();
} }
#endif
} }
/** /**

Loading…
Cancel
Save