Skip to content

Commit

Permalink
fix: Disable DShot 600 support on BB1 (L) ESCs
Browse files Browse the repository at this point in the history
Avoid using a suboptimal performing configuration
  • Loading branch information
mathiasvr committed Jul 11, 2021
1 parent fff71d4 commit a5cc565
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Bluejay.asm
Original file line number Diff line number Diff line change
Expand Up @@ -3744,7 +3744,8 @@ ENDIF
mov A, Rcp_Outside_Range_Cnt ; Check if pulses were accepted
jz arming_begin

; Setup variables for DShot600
; Setup variables for DShot600 (Only on 48MHz for performance reasons)
IF MCU_48MHZ == 1
mov DShot_Timer_Preset, #-64 ; Load DShot sync timer preset (for DShot600)
mov DShot_Pwm_Thr, #8 ; Load DShot pwm threshold (for DShot600)
mov DShot_Frame_Length_Thr, #40 ; Load DShot frame length criteria
Expand All @@ -3756,6 +3757,7 @@ ENDIF
call wait100ms ; Wait for new RC pulse
mov A, Rcp_Outside_Range_Cnt ; Check if pulses were accepted
jz arming_begin
ENDIF

ljmp init_no_signal

Expand Down

0 comments on commit a5cc565

Please sign in to comment.