9 bool Arduboy2Audio::audio_enabled =
false;
15 bitSet(SPEAKER_1_DDR, SPEAKER_1_BIT);
16 bitSet(SPEAKER_2_DDR, SPEAKER_2_BIT);
18 bitSet(SPEAKER_1_DDR, SPEAKER_1_BIT);
25 audio_enabled =
false;
28 bitClear(SPEAKER_1_DDR, SPEAKER_1_BIT);
29 bitClear(SPEAKER_2_DDR, SPEAKER_2_BIT);
31 bitClear(SPEAKER_1_DDR, SPEAKER_1_BIT);
45 EEPROM.update(Arduboy2Base::eepromAudioOnOff, audio_enabled);
50 if (EEPROM.read(Arduboy2Base::eepromAudioOnOff))