Skip to content

Commit 8634894

Browse files
committed
Add SGP41 support
1 parent 148cbcf commit 8634894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/sensor_sgp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void read_sgp(uint16_t *sraw_voc, uint16_t *sraw_nox, int32_t *voc_index_value,
129129
error = sgp41_turn_heater_off();
130130

131131
if (error) {
132-
printf("Error executing sgp41_turn_heater_off(): %i", error);
132+
ESP_LOGE(TAG, "Error executing sgp41_turn_heater_off(): %i", error);
133133
continue;
134134
}
135135

0 commit comments

Comments
 (0)