From 44a175eae05000e0ce97f64b2dcc0b0b6d41e189 Mon Sep 17 00:00:00 2001 From: Scott Allen Date: Wed, 2 Mar 2016 12:31:41 -0500 Subject: [PATCH] Change EEPROM write() to update() --- src/audio/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index c495dd8..c83aaf6 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -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()