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:
parent
3c6ffaf7e2
commit
898b1736b5
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
err = i2c_write_read(data->i2c, config->i2c_addr, &cmd, sizeof(cmd),
|
||||||
&flag, sizeof(flag));
|
&flag, sizeof(flag));
|
||||||
if (err) {
|
if (err) {
|
||||||
LOG_ERR("Failed to to read HT16K33 IRQ flag");
|
LOG_ERR("Failed to read HT16K33 IRQ flag");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue