Skip to content

Commit

Permalink
refactor: Set beep strength in decode settings
Browse files Browse the repository at this point in the history
mathiasvr committed Feb 3, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 051fb82 commit bd069d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Bluejay.asm
Original file line number Diff line number Diff line change
@@ -3467,6 +3467,9 @@ decode_temp_step:
decode_temp_done:
mov Temp_Prot_Limit, A

mov Temp1, #Pgm_Beep_Strength ; Set beep strength
mov Beep_Strength, @Temp1

mov Temp1, #Pgm_Dithering ; Read programmed dithering setting
mov A, @Temp1
clr Flag_Dithering
@@ -3606,8 +3609,6 @@ input_high_check_2:

bootloader_done:
call decode_settings
mov Temp1, #Pgm_Beep_Strength ; Set beep strength
mov Beep_Strength, @Temp1
call switch_power_off
IF MCU_48MHZ == 1
Set_MCU_Clk_24MHz ; Set clock frequency

0 comments on commit bd069d5

Please sign in to comment.