Change EEPROM write() to update()

This commit is contained in:
Scott Allen 2016-03-02 12:31:41 -05:00
parent 2d0a6317a3
commit 44a175eae0
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ void ArduboyAudio::off()
void ArduboyAudio::saveOnOff()
{
EEPROM.write(EEPROM_AUDIO_ON_OFF, audio_enabled);
EEPROM.update(EEPROM_AUDIO_ON_OFF, audio_enabled);
}
void ArduboyAudio::begin()