Fix audio on WT60-XT (#12526)
parent
a69616c45c
commit
a8c013a145
|
@ -65,8 +65,6 @@ bool led_update_kb(led_t led_state) {
|
||||||
|
|
||||||
wait_ms(10); // gets rid of tick
|
wait_ms(10); // gets rid of tick
|
||||||
|
|
||||||
if (!is_playing_notes())
|
|
||||||
{
|
|
||||||
if (led_state.caps_lock && !old_led_state.caps_lock)
|
if (led_state.caps_lock && !old_led_state.caps_lock)
|
||||||
{
|
{
|
||||||
PLAY_SONG(tone_caps_on);
|
PLAY_SONG(tone_caps_on);
|
||||||
|
@ -91,7 +89,6 @@ bool led_update_kb(led_t led_state) {
|
||||||
{
|
{
|
||||||
PLAY_SONG(tone_scroll_off);
|
PLAY_SONG(tone_scroll_off);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
old_led_state = led_state;
|
old_led_state = led_state;
|
||||||
#endif // AUDIO_ENABLE
|
#endif // AUDIO_ENABLE
|
||||||
|
|
Loading…
Reference in New Issue