   switch (config) {
     case INPUT_PCBMICS:
       //Select Input and set gain
-      audioHardware.enableDigitalMicInputs(false);
+      myTympan.enableDigitalMicInputs(false);
       myTympan.inputSelect(TYMPAN_INPUT_ON_BOARD_MIC); // use the on-board microphones
       input_gain_dB = 15;
       myTympan.setInputGain_dB(input_gain_dB);

      
    case INPUT_LINEIN_SE:
      //Select Input and set gain
      audioHardware.enableDigitalMicInputs(false);
      myTympan.inputSelect(TYMPAN_INPUT_LINE_IN); // use the line-input through holes
      input_gain_dB = default_input_gain_dB;
      myTympan.setInputGain_dB(input_gain_dB);
      break;
        
     case INPUT_PDM_MICS:
      audioHardware.enableDigitalMicInputs(true);
      input_gain_dB = 0;
      myTympan.setInputGain_dB(input_gain_dB); //doesn't affect the digital PDM mic inputs?
      break;  

      
    case INPUT_LINEIN_JACK:
      //Select Input and set gain
      myTympan.enableDigitalMicInputs(false);
      myTympan.inputSelect(TYMPAN_INPUT_JACK_AS_LINEIN); // use the line-input through holes
      input_gain_dB = 0;
      myTympan.setInputGain_dB(input_gain_dB);
