Switch thermistor configuration with preprocessor definition