   } else {
     Serial.println("Resume");
     trellis.blinkRate(HT16K33_BLINK_1HZ);
-    enableAmplifier(!headset);
+    enableAmplifier(!headphone);
     player.pausePlaying(false);
     nextTimeoutTick = 0; // no timeout during playing
     state = PLAY_SELECTED;

// 255: analog off
void changeVolume(int encoderChange) {
  volume += encoderChange;
  volume = max(VOLUME_MAX, min(volume, VOLUME_MIN));
  Serial.print("Set Volume "); Serial.println(volume);
  player.setVolume(volume, volume);
}

byte nextLED = 0;
byte playingAlbum;
File album;
int volume = 25;
boolean headphone = false;
boolean headphoneFirstMeasure = false;


/***************************************************
