Skip to content

Commit 74b560e

Browse files
Benjamin CabéChromeos LUCI
authored andcommitted
drivers: sensor: sht3xd: fix threshold low clear command
Fix copy-paste error causing update to SHT3XD_CMD_WRITE_TH_LOW_CLEAR to be missing (cherry picked from commit 8186e6c) Original-Signed-off-by: Benjamin Cabé <[email protected]> GitOrigin-RevId: 8186e6c Cr-Build-Id: 8710912179129064817 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8710912179129064817 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Iba1f08f6d8e09c88202555e53bfa70b9bf65aaa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6683774 Reviewed-by: Keith Short <[email protected]> Tested-by: ChromeOS Copybot <[email protected]> Commit-Queue: Keith Short <[email protected]> Tested-by: Keith Short <[email protected]>
1 parent dd7ac56 commit 74b560e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/sensor/sensirion/sht3xd/sht3xd_trigger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ int sht3xd_init_interrupt(const struct device *dev)
233233
return -EIO;
234234
}
235235

236-
if (sht3xd_write_reg(dev, SHT3XD_CMD_WRITE_TH_LOW_SET, 0) < 0) {
236+
if (sht3xd_write_reg(dev, SHT3XD_CMD_WRITE_TH_LOW_CLEAR, 0) < 0) {
237237
LOG_DBG("Failed to write threshold low clear value!");
238238
return -EIO;
239239
}

0 commit comments

Comments
 (0)