aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/audio/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/audio/audio.c')
-rw-r--r--quantum/audio/audio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c
index 3225557ba..e85370d95 100644
--- a/quantum/audio/audio.c
+++ b/quantum/audio/audio.c
@@ -85,17 +85,17 @@ uint16_t envelope_index = 0;
void audio_toggle(void) {
audio_config.enable ^= 1;
- eeconfig_write_audio(audio_config.raw);
+ eeconfig_update_audio(audio_config.raw);
}
void audio_on(void) {
audio_config.enable = 1;
- eeconfig_write_audio(audio_config.raw);
+ eeconfig_update_audio(audio_config.raw);
}
void audio_off(void) {
audio_config.enable = 0;
- eeconfig_write_audio(audio_config.raw);
+ eeconfig_update_audio(audio_config.raw);
}
#ifdef VIBRATO_ENABLE