If the sensor fails during normal system operation (tested with BME280), an endless loop occurs during BME280_Impl::readSensor(). Here, bme.takeForcedMeasurement() is called, which loops forever until a successful readout.
This kills the system, as it seems like no watchdog is triggered (maybe disabled in Homie?).
If the sensor fails during normal system operation (tested with BME280), an endless loop occurs during BME280_Impl::readSensor(). Here, bme.takeForcedMeasurement() is called, which loops forever until a successful readout. This kills the system, as it seems like no watchdog is triggered (maybe disabled in Homie?).