Fix chip/imxrt_lpi2c.c:1254:1: error: unused function 'imxrt_lpi2c_getenabledints'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
427f65ac28
commit
9f7d7c046a
|
@ -1159,11 +1159,13 @@ imxrt_lpi2c_getstatus(struct imxrt_lpi2c_priv_s *priv)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_IMXRT_LPI2C_DMA
|
||||
static inline uint32_t
|
||||
imxrt_lpi2c_getenabledints(struct imxrt_lpi2c_priv_s *priv)
|
||||
{
|
||||
return imxrt_lpi2c_getreg(priv, IMXRT_LPI2C_MIER_OFFSET);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: imxrt_lpi2c_isr_process
|
||||
|
|
Loading…
Reference in New Issue