forked from openvela/nuttx
nxterm/nxterm_kbdin.c: In function 'nxterm_poll':
nxterm/nxterm_kbdin.c:238:11: error: incompatible types when assigning to type 'spinlock_t' {aka 'struct spinlock_s'} from type 'irqstate_t' {aka 'unsigned char'}
238 | flags = spin_lock_irqsave_nopreempt(&priv->spinlock);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
nxterm/nxterm_kbdin.c:309:53: error: incompatible type for argument 1 of 'up_irq_restore'
309 | spin_unlock_irqrestore_nopreempt(&priv->spinlock, flags);
| ^~~~~
| |
| spinlock_t {aka struct spinlock_
Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| nxbe | ||
| nxglib | ||
| nxmu | ||
| nxterm | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Makefile | ||