1
0

Change tone of entering and exiting config mode

This commit is contained in:
Kai Ryu 2014-10-15 16:54:50 +09:00
parent 9db4fae6bf
commit c05a1faf8d

View File

@ -145,6 +145,7 @@ void enter_config_mode(void)
softpwm_led_set(0, 32 * (layer + 1)); softpwm_led_set(0, 32 * (layer + 1));
softpwm_led_set(1, 32 * (backlight + 1)); softpwm_led_set(1, 32 * (backlight + 1));
buzzer(pgm_read_word(&tones[0]), 50); buzzer(pgm_read_word(&tones[0]), 50);
buzzer(pgm_read_word(&tones[2]), 50);
buzzer(pgm_read_word(&tones[4]), 50); buzzer(pgm_read_word(&tones[4]), 50);
buzzer(pgm_read_word(&tones[7]), 50); buzzer(pgm_read_word(&tones[7]), 50);
} }
@ -159,6 +160,7 @@ void exit_config_mode(void)
} }
buzzer(pgm_read_word(&tones[7]), 50); buzzer(pgm_read_word(&tones[7]), 50);
buzzer(pgm_read_word(&tones[4]), 50); buzzer(pgm_read_word(&tones[4]), 50);
buzzer(pgm_read_word(&tones[2]), 50);
buzzer(pgm_read_word(&tones[0]), 50); buzzer(pgm_read_word(&tones[0]), 50);
} }