Small fixes for TGA board.

master
Holger Wirtz 6 years ago
parent 3374b615e5
commit f63600c8da
  1. 7
      MicroMDAEPiano.ino

@ -161,11 +161,12 @@ void setup()
sgtl5000_1.unmuteLineout(); sgtl5000_1.unmuteLineout();
sgtl5000_1.autoVolumeDisable(); // turn off AGC sgtl5000_1.autoVolumeDisable(); // turn off AGC
sgtl5000_1.volume(1.0, 1.0); sgtl5000_1.volume(1.0, 1.0);
#endif #elif defined(TGA_AUDIO_BOARD)
#ifdef TGA_AUDIO_BOARD
wm8731_1.enable(); wm8731_1.enable();
wm8731_1.volume(1.0); wm8731_1.volume(1.0);
Serial.println(F("TGA board enabled."));
#else
Serial.println(F("PT8211 enabled."));
#endif #endif
//set_volume(vol, vol_left, vol_right); //set_volume(vol, vol_left, vol_right);

Loading…
Cancel
Save