This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
start-up sound working, removes tick with some devices
pull/270/head
Jack Humbert
8 years ago
parent
0fd093b400
commit
157ddccc2c
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
keyboard/preonic/keymaps/default/keymap.c
+2
-1
tmk_core/common/avr/suspend.c
+ 1
- 1
keyboard/preonic/keymaps/default/keymap.c
View File
@ -309,7 +309,7 @@ void process_action_user(keyrecord_t *record) {
}
void
matrix_init_user
(
void
)
{
/
/
audio_init
(
)
;
_delay_ms
(
10
)
;
/
/
gets
rid
of
tick
play_startup_tone
(
)
;
}
+ 2
- 1
tmk_core/common/avr/suspend.c
View File
@ -79,7 +79,8 @@ static void power_down(uint8_t wdto)
led_set
(
0
)
;
#
ifdef AUDIO_ENABLE
stop_all_notes
(
)
;
/
/
This
sometimes
disables
the
start
-
up
noise
,
so
it
'
s
been
disabled
/
/
stop_all_notes
(
)
;
#
endif
/* AUDIO_ENABLE */
/
/
TODO
:
more
power
saving
Write
Preview
Loading…
Cancel
Save