Skip to content

Commit

Permalink
refactor!: Remove legacy (non-DShot) protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasvr committed Oct 18, 2020
1 parent 7410d30 commit efde8c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 704 deletions.
56 changes: 0 additions & 56 deletions BLHeliPgm.inc
Original file line number Diff line number Diff line change
Expand Up @@ -271,59 +271,3 @@ wait1s_loop:
call wait200ms
djnz Temp5, wait1s_loop
ret


;**;**** **** **** **** **** **** **** **** **** **** **** **** ****
;
; Success beep routine
;
; No assumptions
;
;**** **** **** **** **** **** **** **** **** **** **** **** ****
success_beep:
clr IE_EA ; Disable all interrupts
call beep_f1
call beep_f2
call beep_f3
call beep_f4
call wait10ms
call beep_f1
call beep_f2
call beep_f3
call beep_f4
call wait10ms
call beep_f1
call beep_f2
call beep_f3
call beep_f4
setb IE_EA ; Enable all interrupts
ret


;**;**** **** **** **** **** **** **** **** **** **** **** **** ****
;
; Success beep inverted routine
;
; No assumptions
;
;**** **** **** **** **** **** **** **** **** **** **** **** ****
success_beep_inverted:
clr IE_EA ; Disable all interrupts
call beep_f4
call beep_f3
call beep_f2
call beep_f1
call wait10ms
call beep_f4
call beep_f3
call beep_f2
call beep_f1
call wait10ms
call beep_f4
call beep_f3
call beep_f2
call beep_f1
setb IE_EA ; Enable all interrupts
ret


Loading

0 comments on commit efde8c4

Please sign in to comment.