diff --git a/Bluejay.asm b/Bluejay.asm index 75de8b5..613d891 100644 --- a/Bluejay.asm +++ b/Bluejay.asm @@ -387,7 +387,11 @@ CSEG AT 80h ; Code segment after interrupt vectors DSHOT_TLM_CLOCK EQU 24500000 ; 24.5MHz DSHOT_TLM_START_DELAY EQU -(5 * 25 / 4) ; Start telemetry after 5 us (~30 us after receiving DShot cmd) +IF MCU_48MHZ == 0 DSHOT_TLM_PREDELAY EQU 9 ; 9 timer 0 ticks inherent delay +ELSE +DSHOT_TLM_PREDELAY EQU 7 ; 7 timer 0 ticks inherent delay +ENDIF IF MCU_48MHZ == 1 DSHOT_TLM_CLOCK_48 EQU 49000000 ; 49MHz