fixed small bug with AUDIO_ENABLED (#339)
This commit is contained in:
parent
b732b79b49
commit
0275d444d7
1 changed files with 22 additions and 21 deletions
|
@ -435,7 +435,7 @@ void matrix_scan_quantum() {
|
||||||
|
|
||||||
matrix_scan_kb();
|
matrix_scan_kb();
|
||||||
}
|
}
|
||||||
|
#ifdef AUDIO_ENABLE
|
||||||
bool is_music_on(void) {
|
bool is_music_on(void) {
|
||||||
return (music_activated != 0);
|
return (music_activated != 0);
|
||||||
}
|
}
|
||||||
|
@ -458,5 +458,6 @@ void music_off(void) {
|
||||||
stop_all_notes();
|
stop_all_notes();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
__attribute__ ((weak))
|
__attribute__ ((weak))
|
||||||
void music_on_user() {}
|
void music_on_user() {}
|
Loading…
Reference in a new issue