Skip to content

Commit 8b8d56a

Browse files
Jeppe Odgaardhenrikbrixandersen
authored andcommitted
drivers: sensor: explorir_m: increase max response delay
The sensor does not always finish responding within 200 ms. This is the sometimes the case when using the sensor calibrate command `X`. Response delay up to 212 ms has been measured with a logic analyzer. Increase the max response delay to 300 ms to fix the issue. Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
1 parent e575eea commit 8b8d56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sensor/explorir_m/explorir_m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ LOG_MODULE_REGISTER(explorir_m_sensor, CONFIG_SENSOR_LOG_LEVEL);
3939

4040
#define EXPLORIR_M_BUFFER_LENGTH 16
4141

42-
#define EXPLORIR_M_MAX_RESPONSE_DELAY 200 /* Add margin to the specified 100 in datasheet */
42+
#define EXPLORIR_M_MAX_RESPONSE_DELAY 300 /* Add margin to the specified 100 in datasheet */
4343
#define EXPLORIR_M_CO2_VALID_DELAY 1200
4444

4545
struct explorir_m_data {

0 commit comments

Comments
 (0)