 	
 	buzzPlaySoundRepeat(SoundIdWaitUserInteraction);
 
-	if(readSetting(PS_PidPipe) == 1 && readSetting(PS_SensorType) == 0)
+	if(!(readSetting(PS_PidPipe) == 1 && readSetting(PS_SensorType) == 0))
 		heatProgramOff(); // heat off, programming
 	
 	#if WirelessSupported == true

#define ButtonEnterPin  A0
// use Serial1
#define UseSoftwareSerial false
#define WirelessHardwarePort Serial
#endif

#if BOARD == UNOTEST

const byte SoftwareSerialTx = 11;
#endif

#if UseSoftwareSerial == true
#define WiFiSerialBaudRate 38400
#else
#define WiFiSerialBaudRate 115200
#endif

/* this option is not used if  UseSoftwareSerial == true */
#define WirelessHardwarePort Serial
