Missing sticks reset in google tests (stick position reused in next
tests)
This commit is contained in:
@@ -50,6 +50,7 @@ void doMixerCalculations();
|
|||||||
|
|
||||||
#define MODEL_RESET() \
|
#define MODEL_RESET() \
|
||||||
memset(&g_model, 0, sizeof(g_model)); \
|
memset(&g_model, 0, sizeof(g_model)); \
|
||||||
|
memset(&anaInValues, 0, sizeof(anaInValues)); \
|
||||||
extern uint8_t s_mixer_first_run_done; \
|
extern uint8_t s_mixer_first_run_done; \
|
||||||
s_mixer_first_run_done = false; \
|
s_mixer_first_run_done = false; \
|
||||||
lastFlightMode = 255;
|
lastFlightMode = 255;
|
||||||
|
|||||||
Reference in New Issue
Block a user