drivers: led: ht16k33: fix a typo

Fix a typo to make the LOG_ERR info right.

Signed-off-by: Xinrong Han <hanxr19@mails.tsinghua.edu.cn>
This commit is contained in:
Xinrong Han 2020-12-22 21:05:05 +08:00 committed by Anas Nashif
commit 898b1736b5

View file

@ -218,7 +218,7 @@ uint32_t ht16k33_get_pending_int(const struct device *dev)
err = i2c_write_read(data->i2c, config->i2c_addr, &cmd, sizeof(cmd),
&flag, sizeof(flag));
if (err) {
LOG_ERR("Failed to to read HT16K33 IRQ flag");
LOG_ERR("Failed to read HT16K33 IRQ flag");
return 0;
}