Fix master fatal error (#2206)
* print the fatal that caused test failure * fix the error
This commit is contained in:
parent
6b14367d6e
commit
8d5495111e
|
@ -57,6 +57,11 @@ void configTherm(FunctionalSensor &sensor,
|
|||
FuncPair &p,
|
||||
ThermistorConf &config,
|
||||
bool isLinear) {
|
||||
// nothing to do if no channel
|
||||
if (!isAdcChannelValid(config.adcChannel)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Configure the conversion function for this sensor
|
||||
sensor.setFunction(configureTempSensorFunction(config.config, p, isLinear));
|
||||
}
|
||||
|
|
|
@ -18,6 +18,6 @@ public enum TestHelper {
|
|||
}
|
||||
|
||||
public void assertNotFatal() {
|
||||
assertNull("Fatal not expected", criticalError);
|
||||
assertNull("Fatal not expected: " + criticalError, criticalError);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue