diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 18:15:35 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-17 18:15:35 -0400 |
commit | e0ab1dcf4c6e97b81e4ea4c2521163e6917ef838 (patch) | |
tree | b50d32f3d08965a3967ad78cf65490e63e894a13 /quantum/keymap_common.c | |
parent | ce463ef424c5bd26b84ead7de5f31eab366f98eb (diff) | |
parent | 23231fa577f7c6c585124226a83f21a7668e62dd (diff) |
merging
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r-- | quantum/keymap_common.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index d38e6fdb20..2001438b90 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "backlight.h" #include "keymap_midi.h" #include "bootloader.h" +#include "eeconfig.h" extern keymap_config_t keymap_config; @@ -33,15 +34,13 @@ extern keymap_config_t keymap_config; #include <inttypes.h> #ifdef AUDIO_ENABLE #include "audio.h" + #ifndef TONE_GOODBYE - #define TONE_GOODBYE { \ - {440.0*pow(2.0,(31)/12.0), 8}, \ - {440.0*pow(2.0,(24)/12.0), 8}, \ - {440.0*pow(2.0,(19)/12.0), 12}, \ - } - #endif - float tone_goodbye[][2] = TONE_GOODBYE; -#endif + #define TONE_GOODBYE OLKB_GOODBYE + #endif /*! TONE_GOODBYE */ + + float tone_goodbye[][2] = SONG(TONE_GOODBYE); +#endif /* AUDIO_ENABLE */ static action_t keycode_to_action(uint16_t keycode); |