Skip to content

Commit 7312ce8

Browse files
author
hexfet
committed
Run mixer calculations on timer after de-initializing protocol. Ensures channel data is updated for functions like calibration.
1 parent 162f50c commit 7312ce8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/protocol/protocol.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ void PROTOCOL_DeInit()
121121
CLOCK_StopTimer();
122122
if(Model.protocol != PROTOCOL_NONE && PROTOCOL_LOADED)
123123
PROTO_Cmds(PROTOCMD_DEINIT);
124+
CLOCK_StartMixer(); // run mixer on timer so channels are updated for things like calibration
124125
proto_state = PROTO_DEINIT;
125126
}
126127

0 commit comments

Comments
 (0)