summaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/CMD-Preonic/keymap.c
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2017-04-29 15:03:52 +0200
committerGitHub <noreply@github.com>2017-04-29 15:03:52 +0200
commit584b804ee33d53102fef3b8cdd045bca4c47bf26 (patch)
treecccdc512fed02293ffd0bfb962ec14d8a8664e7f /keyboards/preonic/keymaps/CMD-Preonic/keymap.c
parent215dd126d08b29939c53bf0eaa006ce6ecdedb83 (diff)
parent26bbfd78125224abdbd2e4ccf3aa3df1b5fc4968 (diff)
downloadqmk_firmware-584b804ee33d53102fef3b8cdd045bca4c47bf26.tar.gz
qmk_firmware-584b804ee33d53102fef3b8cdd045bca4c47bf26.zip
Merge pull request #21 from qmk/master
Merge from QMK
Diffstat (limited to 'keyboards/preonic/keymaps/CMD-Preonic/keymap.c')
-rw-r--r--keyboards/preonic/keymaps/CMD-Preonic/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/preonic/keymaps/CMD-Preonic/keymap.c b/keyboards/preonic/keymaps/CMD-Preonic/keymap.c
index 5d217e2615..a500a36494 100644
--- a/keyboards/preonic/keymaps/CMD-Preonic/keymap.c
+++ b/keyboards/preonic/keymaps/CMD-Preonic/keymap.c
@@ -212,10 +212,10 @@ const uint16_t PROGMEM fn_actions[] = {
#ifdef AUDIO_ENABLE
float start_up[][2] = {
- {440.0*pow(2.0,(14)/12.0), 20},
- {440.0*pow(2.0,(26)/12.0), 8},
- {440.0*pow(2.0,(18)/12.0), 20},
- {440.0*pow(2.0,(26)/12.0), 8}
+ MUSICAL_NOTE(_B5, 20),
+ MUSICAL_NOTE(_B6, 8),
+ MUSICAL_NOTE(_DS6, 20),
+ MUSICAL_NOTE(_B6, 8),
};
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
@@ -323,7 +323,7 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
-void play_goodbye_tone()
+void play_goodbye_tone(void)
{
PLAY_NOTE_ARRAY(goodbye, false, 0);
_delay_ms(150);