diff options
| author | IBNobody <ibnobody@gmail.com> | 2016-04-17 14:16:03 -0500 |
|---|---|---|
| committer | IBNobody <ibnobody@gmail.com> | 2016-04-17 14:16:03 -0500 |
| commit | 23231fa577f7c6c585124226a83f21a7668e62dd (patch) | |
| tree | 949a355760e243909aa8a0637017a972e8862cf3 /quantum/keymap_common.c | |
| parent | 3103ea542f0039637a1a266df79a97a7a13fa6b4 (diff) | |
| download | qmk_firmware-23231fa577f7c6c585124226a83f21a7668e62dd.tar.gz qmk_firmware-23231fa577f7c6c585124226a83f21a7668e62dd.zip | |
Converted goodbye to notes, fixed eighth dotted note macro
Diffstat (limited to 'quantum/keymap_common.c')
| -rw-r--r-- | quantum/keymap_common.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index c705b7a73..2001438b9 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c | |||
| @@ -34,15 +34,13 @@ extern keymap_config_t keymap_config; | |||
| 34 | #include <inttypes.h> | 34 | #include <inttypes.h> |
| 35 | #ifdef AUDIO_ENABLE | 35 | #ifdef AUDIO_ENABLE |
| 36 | #include "audio.h" | 36 | #include "audio.h" |
| 37 | |||
| 37 | #ifndef TONE_GOODBYE | 38 | #ifndef TONE_GOODBYE |
| 38 | #define TONE_GOODBYE { \ | 39 | #define TONE_GOODBYE OLKB_GOODBYE |
| 39 | {440.0*pow(2.0,(31)/12.0), 8}, \ | 40 | #endif /*! TONE_GOODBYE */ |
| 40 | {440.0*pow(2.0,(24)/12.0), 8}, \ | 41 | |
| 41 | {440.0*pow(2.0,(19)/12.0), 12}, \ | 42 | float tone_goodbye[][2] = SONG(TONE_GOODBYE); |
| 42 | } | 43 | #endif /* AUDIO_ENABLE */ |
| 43 | #endif | ||
| 44 | float tone_goodbye[][2] = TONE_GOODBYE; | ||
| 45 | #endif | ||
| 46 | 44 | ||
| 47 | static action_t keycode_to_action(uint16_t keycode); | 45 | static action_t keycode_to_action(uint16_t keycode); |
| 48 | 46 | ||
