[mcp9600] Combine log statements to reduce loop blocking (#12913)
This commit is contained in:
1 parent
ccc9d95c9d
commit
d1d5c942ec
1 file changed
+4
-4
@@ -63,12 +63,12 @@ void MCP9600Component::setup() {
|
||||
}
|
||||
|
||||
void MCP9600Component::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "MCP9600:");
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"MCP9600:\n"
|
||||
" Device ID: 0x%x",
|
||||
this->device_id_);
|
||||
LOG_I2C_DEVICE(this);
|
||||
LOG_UPDATE_INTERVAL(this);
|
||||
|
||||
ESP_LOGCONFIG(TAG, " Device ID: 0x%x", this->device_id_);
|
||||
|
||||
LOG_SENSOR(" ", "Hot Junction Temperature", this->hot_junction_sensor_);
|
||||
LOG_SENSOR(" ", "Cold Junction Temperature", this->cold_junction_sensor_);
|
||||
|
||||
|
||||
Reference in new issue
Block a user