mirror of https://github.com/rusefi/bldc.git
Correctly log motor fault data and iterate beta version number
This commit is contained in:
parent
c5ad718e17
commit
2b13131a44
|
@ -24,7 +24,7 @@
|
|||
#define FW_VERSION_MAJOR 5
|
||||
#define FW_VERSION_MINOR 00
|
||||
// Set to 0 for building a release and iterate during beta test builds
|
||||
#define FW_TEST_VERSION_NUMBER 1
|
||||
#define FW_TEST_VERSION_NUMBER 2
|
||||
|
||||
#include "datatypes.h"
|
||||
|
||||
|
|
|
@ -2266,6 +2266,7 @@ static THD_FUNCTION(fault_stop_thread, arg) {
|
|||
chEvtWaitAny((eventmask_t) 1);
|
||||
#ifdef HW_HAS_DUAL_MOTORS
|
||||
volatile motor_if_state_t *motor = m_fault_stop_is_second_motor ? &m_motor_2 : &m_motor_1;
|
||||
mc_interface_select_motor_thread(m_fault_stop_is_second_motor + 1);
|
||||
#else
|
||||
volatile motor_if_state_t *motor = &m_motor_1;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue