diff options
Diffstat (limited to 'keyboards/preonic')
-rw-r--r-- | keyboards/preonic/keymaps/0xdec/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/bucktooth/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/jacwib/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/mverteuil/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/nikchi/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/smt/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/that_canadian/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/trigotometry/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/zach/zach_common_functions.c | 2 |
10 files changed, 16 insertions, 16 deletions
diff --git a/keyboards/preonic/keymaps/0xdec/keymap.c b/keyboards/preonic/keymaps/0xdec/keymap.c index 4cf3a21049..fafa5c4460 100644 --- a/keyboards/preonic/keymaps/0xdec/keymap.c +++ b/keyboards/preonic/keymaps/0xdec/keymap.c @@ -98,11 +98,11 @@ float tone_game[][2] = { float tone_goodbye[][2] = SONG(GOODBYE_SOUND); float music_scale[][2] = SONG(MUSIC_SCALE_SOUND); -void startup_user() { +void startup_user(void) { _delay_ms(20); // gets rid of tick PLAY_SONG(tone_startup); } -void shutdown_user() { +void shutdown_user(void) { PLAY_SONG(tone_goodbye); _delay_ms(150); stop_all_notes(); diff --git a/keyboards/preonic/keymaps/bucktooth/keymap.c b/keyboards/preonic/keymaps/bucktooth/keymap.c index b68a93ba3c..593083f201 100644 --- a/keyboards/preonic/keymaps/bucktooth/keymap.c +++ b/keyboards/preonic/keymaps/bucktooth/keymap.c @@ -91,12 +91,12 @@ void matrix_init_user(void) { #ifdef AUDIO_ENABLE -void startup_user() +void startup_user(void) { PLAY_SONG(tone_startup); } -void shutdown_user() +void shutdown_user(void) { PLAY_SONG(tone_goodbye); stop_all_notes(); diff --git a/keyboards/preonic/keymaps/jacwib/keymap.c b/keyboards/preonic/keymaps/jacwib/keymap.c index 774b2a0c4e..9de460c2a4 100644 --- a/keyboards/preonic/keymaps/jacwib/keymap.c +++ b/keyboards/preonic/keymaps/jacwib/keymap.c @@ -258,13 +258,13 @@ void matrix_init_user(void) { #ifdef AUDIO_ENABLE -void startup_user() +void startup_user(void) { _delay_ms(20); // gets rid of tick PLAY_SONG(tone_startup); } -void shutdown_user() +void shutdown_user(void) { PLAY_SONG(tone_goodbye); _delay_ms(150); diff --git a/keyboards/preonic/keymaps/mverteuil/keymap.c b/keyboards/preonic/keymaps/mverteuil/keymap.c index 332e2877b2..e81f38362a 100644 --- a/keyboards/preonic/keymaps/mverteuil/keymap.c +++ b/keyboards/preonic/keymaps/mverteuil/keymap.c @@ -242,7 +242,7 @@ float s_audio_on[][2] = AUDIO_ON_SONG; float s_layer_lower[][2] = LAYER_LOWER_SONG; float s_layer_raise[][2] = LAYER_RAISE_SONG; -void audio_on_user() { PLAY_SONG(s_audio_on); }; +void audio_on_user(void) { PLAY_SONG(s_audio_on); }; bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { diff --git a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c index c6cad0fe5f..cab5cdcb05 100644 --- a/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c +++ b/keyboards/preonic/keymaps/mverteuil_2x2u/keymap.c @@ -218,7 +218,7 @@ float s_audio_on[][2] = AUDIO_ON_SONG; float s_layer_lower[][2] = LAYER_LOWER_SONG; float s_layer_raise[][2] = LAYER_RAISE_SONG; -void audio_on_user() { PLAY_SONG(s_audio_on); }; +void audio_on_user(void) { PLAY_SONG(s_audio_on); }; bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { diff --git a/keyboards/preonic/keymaps/nikchi/keymap.c b/keyboards/preonic/keymaps/nikchi/keymap.c index 9510791d2a..e14f8f0052 100644 --- a/keyboards/preonic/keymaps/nikchi/keymap.c +++ b/keyboards/preonic/keymaps/nikchi/keymap.c @@ -186,13 +186,13 @@ void matrix_init_user(void) { #ifdef AUDIO_ENABLE -void startup_user() +void startup_user(void) { _delay_ms(20); // gets rid of tick PLAY_SONG(tone_startup); } -void shutdown_user() +void shutdown_user(void) { PLAY_SONG(tone_goodbye); _delay_ms(150); diff --git a/keyboards/preonic/keymaps/smt/keymap.c b/keyboards/preonic/keymaps/smt/keymap.c index 80c704de32..7dd9545261 100644 --- a/keyboards/preonic/keymaps/smt/keymap.c +++ b/keyboards/preonic/keymaps/smt/keymap.c @@ -251,13 +251,13 @@ void matrix_init_user(void) { #ifdef AUDIO_ENABLE -void startup_user() +void startup_user(void) { _delay_ms(20); // gets rid of tick PLAY_SONG(tone_startup); } -void shutdown_user() +void shutdown_user(void) { PLAY_SONG(tone_goodbye); _delay_ms(150); diff --git a/keyboards/preonic/keymaps/that_canadian/keymap.c b/keyboards/preonic/keymaps/that_canadian/keymap.c index 0c2a05fa14..8af796821c 100644 --- a/keyboards/preonic/keymaps/that_canadian/keymap.c +++ b/keyboards/preonic/keymaps/that_canadian/keymap.c @@ -210,13 +210,13 @@ void matrix_init_user(void) { #ifdef AUDIO_ENABLE -void startup_user() +void startup_user(void) { _delay_ms(20); // gets rid of tick PLAY_SONG(tone_startup); } -void shutdown_user() +void shutdown_user(void) { PLAY_SONG(tone_goodbye); _delay_ms(150); diff --git a/keyboards/preonic/keymaps/trigotometry/keymap.c b/keyboards/preonic/keymaps/trigotometry/keymap.c index aa734328b5..419f7a10ba 100644 --- a/keyboards/preonic/keymaps/trigotometry/keymap.c +++ b/keyboards/preonic/keymaps/trigotometry/keymap.c @@ -157,7 +157,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { // {NOTE_E5, 8} // }; -// void startup_user() +// void startup_user(void) // { // _delay_ms(20); // gets rid of tick // PLAY_SONG(tone_startup); diff --git a/keyboards/preonic/keymaps/zach/zach_common_functions.c b/keyboards/preonic/keymaps/zach/zach_common_functions.c index 97b650d9cb..6ad1c7bed3 100644 --- a/keyboards/preonic/keymaps/zach/zach_common_functions.c +++ b/keyboards/preonic/keymaps/zach/zach_common_functions.c @@ -427,7 +427,7 @@ void play_goodbye_tone(void){ _delay_ms(150); } -void shutdown_user(){ +void shutdown_user(void){ PLAY_SONG(tone_goodbye); _delay_ms(150); stop_all_notes(); |