fix spaces, delete lines and default config

This commit is contained in:
CTSchorsch 2021-03-31 14:10:27 +02:00
parent 331494291d
commit 755ff98ec9
3 changed files with 6 additions and 5 deletions

View File

@ -89,8 +89,8 @@ void app_set_configuration(app_configuration *conf) {
case APP_PPM_UART:
hw_stop_i2c();
app_ppm_start();
app_uartcomm_start(UART_PORT_COMM_HEADER);
app_ppm_start();
app_uartcomm_start(UART_PORT_COMM_HEADER);
break;
case APP_ADC_UART:
@ -129,6 +129,7 @@ void app_set_configuration(app_configuration *conf) {
case APP_CUSTOM:
#ifdef APP_CUSTOM_TO_USE
hw_stop_i2c();
app_custom_start();
#endif
break;

View File

@ -85,7 +85,7 @@ void commands_init(void) {
chMtxObjectInit(&print_mutex);
chMtxObjectInit(&send_buffer_mutex);
chMtxObjectInit(&terminal_mutex);
chThdCreateStatic(blocking_thread_wa, sizeof(blocking_thread_wa), NORMALPRIO, blocking_thread, NULL);
chThdCreateStatic(blocking_thread_wa, sizeof(blocking_thread_wa), NORMALPRIO, blocking_thread, NULL);
isInitialized = true;
}

View File

@ -196,7 +196,7 @@
/*
* Select default user motor configuration
*/
#include "mcconf_default.h"
//#include "mcconf_default.h"
//#include "mcconf_china_60kv.h"
/*
@ -216,7 +216,7 @@
// CAN-plotter
//#define APP_CUSTOM_TO_USE "app_plot_can.c"
#define APPCONF_APP_TO_USE APP_NONE
//#define APPCONF_APP_TO_USE APP_NONE
//#define APPCONF_CAN_BAUD_RATE CAN_BAUD_75K
#include "hw.h"