mirror of https://github.com/MLXXXp/Arduboy2.git
Change EEPROM write() to update()
This commit is contained in:
parent
2d0a6317a3
commit
44a175eae0
|
@ -20,7 +20,7 @@ void ArduboyAudio::off()
|
||||||
|
|
||||||
void ArduboyAudio::saveOnOff()
|
void ArduboyAudio::saveOnOff()
|
||||||
{
|
{
|
||||||
EEPROM.write(EEPROM_AUDIO_ON_OFF, audio_enabled);
|
EEPROM.update(EEPROM_AUDIO_ON_OFF, audio_enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArduboyAudio::begin()
|
void ArduboyAudio::begin()
|
||||||
|
|
Loading…
Reference in New Issue