Skip to content

Commit

Permalink
fix: Wait for FC to initialize during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasvr committed Jan 6, 2021
1 parent 944d3fd commit ec73e39
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 @@ -3225,7 +3225,7 @@ pgm_start:
mov Beep_Strength, @Temp1 ; Set beep strength
; Initializing beeps
clr IE_EA ; Disable interrupts explicitly
call wait200ms
call wait100ms
call beep_f1
call wait10ms
call beep_f2
Expand All @@ -3240,6 +3240,8 @@ pgm_start:

call led_control ; Set LEDs to programmed values

call wait200ms ; Wait for flight controller to get ready
call wait200ms

;**** **** **** **** **** **** **** **** **** **** **** **** ****
;
Expand Down

0 comments on commit ec73e39

Please sign in to comment.