mirror of
https://github.com/esphome/esphome.git
synced 2026-02-06 01:22:47 +08:00
[mhz19] Fix Uninitialized var warning message (#13526)
This commit is contained in:
committed by
Jonathan Swoboda
parent
ed9a672f44
commit
d6bf137026
@@ -155,6 +155,9 @@ void MHZ19Component::dump_config() {
|
||||
case MHZ19_DETECTION_RANGE_0_10000PPM:
|
||||
range_str = "0 to 10000ppm";
|
||||
break;
|
||||
default:
|
||||
range_str = "default";
|
||||
break;
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, " Detection range: %s", range_str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user