Raised maximum mixer scheduler period to 50ms (20Hz)

Resolves #7
This commit is contained in:
Raphael Coeffic
2021-06-04 07:04:45 +02:00
committed by Raphael Coeffic
parent 63a0eb799a
commit c8482dfa6f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
#define MIXER_SCHEDULER_DEFAULT_PERIOD_US 4000u // 4ms
#define MIN_REFRESH_RATE 1750 /* us */
#define MAX_REFRESH_RATE 25000 /* us */
#define MAX_REFRESH_RATE 50000 /* us */
#if !defined(SIMU)
+1 -1
View File
@@ -111,7 +111,7 @@ void sendSynchronousPulses(uint8_t runMask)
}
constexpr uint8_t MIXER_FREQUENT_ACTIONS_PERIOD = 5 /*ms*/;
constexpr uint8_t MIXER_MAX_PERIOD = 30 /*ms*/;
constexpr uint8_t MIXER_MAX_PERIOD = MAX_REFRESH_RATE / 1000 /*ms*/;
void execMixerFrequentActions()
{