drivers: sensor: npcx: fix debug message when port B is captured
Fix wrong debug message when port B of tachometer is captured. Signed-off-by: Evan Chang <MCCHANG1@nuvoton.com> Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
This commit is contained in:
parent
9e6960fe90
commit
21d7c2db6d
|
@ -176,7 +176,7 @@ static inline bool tach_npcx_is_captured(const struct device *dev)
|
|||
|
||||
LOG_DBG("port A is captured %d, port b is captured %d",
|
||||
IS_BIT_SET(inst->TECTRL, NPCX_TECTRL_TAPND),
|
||||
IS_BIT_SET(inst->TECTRL, NPCX_TECTRL_TAPND));
|
||||
IS_BIT_SET(inst->TECTRL, NPCX_TECTRL_TBPND));
|
||||
|
||||
/*
|
||||
* In mode 5, the flag TAPND or TBPND indicates a input captured on
|
||||
|
|
Loading…
Reference in a new issue