diff --git a/radio/src/mixer_scheduler.h b/radio/src/mixer_scheduler.h index e59bb704df..b9ee9cd8c2 100644 --- a/radio/src/mixer_scheduler.h +++ b/radio/src/mixer_scheduler.h @@ -24,7 +24,7 @@ #include #define MIXER_SCHEDULER_DEFAULT_PERIOD_US 4000u // 4ms -#define MIXER_SCHEDULER_JOYSTICK_PERIOD_US 2000u // 2ms +#define MIXER_SCHEDULER_JOYSTICK_PERIOD_US 4000u // 4ms #define MIN_REFRESH_RATE 850 /* us */ #define MAX_REFRESH_RATE 50000 /* us */ diff --git a/radio/src/pulses/pulses_arm.cpp b/radio/src/pulses/pulses_arm.cpp index 5f9deddb4e..f3b50ed6ca 100755 --- a/radio/src/pulses/pulses_arm.cpp +++ b/radio/src/pulses/pulses_arm.cpp @@ -317,7 +317,7 @@ bool setupPulses(uint8_t port) { break; case PROTOCOL_CHANNELS_AFHDS2A_SPI: init_afhds2a(port); - mixerSchedulerSetPeriod(INTERNAL_MODULE, 3850); + mixerSchedulerSetPeriod(INTERNAL_MODULE, AFHDS2A_PERIOD); break; default: init_no_pulses(port); diff --git a/radio/src/targets/flysky/iface_a7105.h b/radio/src/targets/flysky/iface_a7105.h index b17ce32d81..bf91c35b08 100644 --- a/radio/src/targets/flysky/iface_a7105.h +++ b/radio/src/targets/flysky/iface_a7105.h @@ -28,6 +28,8 @@ #define AFHDS2A_TELEM_MIRROR_BAUDRATE 115200 +#define AFHDS2A_PERIOD 3850 + //#define FORCE_AFHDS2A_TUNING 0 enum A7105_POWER {