fix SBUS rate adjustment

This commit is contained in:
Raphael Coeffic
2020-12-09 07:24:27 +01:00
parent 931743af44
commit e00224fea1
+3
View File
@@ -333,6 +333,9 @@ bool setupPulsesExternalModule(uint8_t protocol)
#if defined(SBUS)
case PROTOCOL_CHANNELS_SBUS:
setupPulsesSbus();
// SBUS_PERIOD is not a constant! It can be set from UI
mixerSchedulerSetPeriod(EXTERNAL_MODULE, SBUS_PERIOD);
return true;
#endif