mirror of https://github.com/rusefi/bldc.git
fix spaces, delete lines and default config
This commit is contained in:
parent
331494291d
commit
755ff98ec9
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue