Fixed serial passthrough exit when pulling USB cable
This commit is contained in:
committed by
Raphael Coeffic
parent
aa7b0143bd
commit
01059da849
@@ -317,7 +317,8 @@ enum ChannelsProtocols {
|
||||
inline void stopPulses()
|
||||
{
|
||||
s_pulses_paused = true;
|
||||
moduleState[0].protocol = PROTOCOL_CHANNELS_UNINITIALIZED;
|
||||
for (uint8_t i = 0; i < NUM_MODULES; i++)
|
||||
moduleState[i].protocol = PROTOCOL_CHANNELS_UNINITIALIZED;
|
||||
}
|
||||
|
||||
inline bool pulsesStarted()
|
||||
|
||||
Reference in New Issue
Block a user