if (audio_config.enable) {
- if (note)
+ if (note || notes)
stop_all_notes();
notes_pointer = np;
if (audio_config.enable && voices < 8) {
- if (notes)
+ if (note || notes)
stop_all_notes();
#ifdef PWM_AUDIO
freq = freq / SAMPLE_RATE;
}
}
+//------------------------------------------------------------------------------
+// Override these functions in your keymap file to play different tunes on
+// startup and bootloader jump
+__attribute__ ((weak))
+void play_startup_tone()
+{
+}
+
+__attribute__ ((weak))
+void play_goodbye_tone()
+{
+}
+//------------------------------------------------------------------------------