aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index d38e6fdb2..2001438b9 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/>.
26#include "backlight.h" 26#include "backlight.h"
27#include "keymap_midi.h" 27#include "keymap_midi.h"
28#include "bootloader.h" 28#include "bootloader.h"
29#include "eeconfig.h"
29 30
30extern keymap_config_t keymap_config; 31extern keymap_config_t keymap_config;
31 32
@@ -33,15 +34,13 @@ extern keymap_config_t keymap_config;
33#include <inttypes.h> 34#include <inttypes.h>
34#ifdef AUDIO_ENABLE 35#ifdef AUDIO_ENABLE
35 #include "audio.h" 36 #include "audio.h"
37
36 #ifndef TONE_GOODBYE 38 #ifndef TONE_GOODBYE
37 #define TONE_GOODBYE { \ 39 #define TONE_GOODBYE OLKB_GOODBYE
38 {440.0*pow(2.0,(31)/12.0), 8}, \ 40 #endif /*! TONE_GOODBYE */
39 {440.0*pow(2.0,(24)/12.0), 8}, \ 41
40 {440.0*pow(2.0,(19)/12.0), 12}, \ 42 float tone_goodbye[][2] = SONG(TONE_GOODBYE);
41 } 43#endif /* AUDIO_ENABLE */
42 #endif
43 float tone_goodbye[][2] = TONE_GOODBYE;
44#endif
45 44
46static action_t keycode_to_action(uint16_t keycode); 45static action_t keycode_to_action(uint16_t keycode);
47 46