1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Allow RX and OSD tasks to be scheduled at the second attempt on F411 processors

This commit is contained in:
Steve Evans 2022-01-20 13:54:38 +00:00
parent 2af98ae7c8
commit b3903edf55
3 changed files with 19 additions and 10 deletions

View file

@ -22,6 +22,15 @@
#include "pg/pg.h"
#ifdef STM32F411xE
// Allow RX and OSD tasks to be scheduled at the second attempt on F411 processors
#define SCHEDULER_RELAX_RX 1
#define SCHEDULER_RELAX_OSD 1
#else
#define SCHEDULER_RELAX_RX 25
#define SCHEDULER_RELAX_OSD 25
#endif
typedef struct schedulerConfig_s {
uint16_t rxRelaxDeterminism;
uint16_t osdRelaxDeterminism;