diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-04-21 23:10:00 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-04-21 23:10:00 -0400 |
commit | fa40e91b5649e4a7aa833f3ae203169386c02721 (patch) | |
tree | 97c07e85ab7acb939ff395e4ba12d950d805a8f6 /quantum/audio | |
parent | 9828aba2a12f03fccbc1095bc8e4918ae58fa31b (diff) | |
parent | 620ac4b260fa663d12b11a0b15ac50379523c125 (diff) |
Merge pull request #271 from eltang/qmk_firmware/eeprom_wear_fix
Update functions used to write to EEPROM
Diffstat (limited to 'quantum/audio')
-rw-r--r-- | quantum/audio/audio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index 3225557bae..e85370d958 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 |