Browse Source

refactor: Flag will be reset on init start

main
Mathias Rasmussen 4 years ago
parent
commit
3fe9ad1e17
  1. 3
      Bluejay.asm

3
Bluejay.asm

@ -3474,9 +3474,8 @@ beep_delay_set:
wait_for_power_on_no_beep: wait_for_power_on_no_beep:
jb Flag_Packet_Pending, wait_for_power_telemetry_done jb Flag_Packet_Pending, wait_for_power_telemetry_done
setb Flag_Timer3_Pending ; Set flag temporarily to avoid early return
setb Flag_Timer3_Pending ; Set flag to avoid early return
call dshot_tlm_create_packet ; Create telemetry packet (0 rpm) call dshot_tlm_create_packet ; Create telemetry packet (0 rpm)
clr Flag_Timer3_Pending
wait_for_power_telemetry_done: wait_for_power_telemetry_done:
call wait10ms call wait10ms

Loading…
Cancel
Save