mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
configs/nucleo-l476rg/src/stm32_gpio.c, configs/stm32f103-minimum/src/stm32_gpio.c, and drivers/sensors/zerocross.c: Fix some errors when debug assertions are enabled.
This commit is contained in:
committed by
Gregory Nutt
parent
8ed0d21b73
commit
245bf33eb3
@@ -417,7 +417,7 @@ static int zc_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
DEBUGASSERT(filep && filep->f_priv && filep->f_inode);
|
||||
opriv = filep->f_priv;
|
||||
inode = filep->f_inode;
|
||||
DEBUGASSERT(inode->i_private)
|
||||
DEBUGASSERT(inode->i_private);
|
||||
priv = (FAR struct zc_upperhalf_s *)inode->i_private;
|
||||
|
||||
/* Get exclusive access to the device structures */
|
||||
|
||||
Reference in New Issue
Block a user