mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
configs/boardctl.c: Fix some recently introduced errors found in build testing.
This commit is contained in:
+1
-1
@@ -508,7 +508,7 @@ int boardctl(unsigned int cmd, uintptr_t arg)
|
|||||||
FAR struct boardioc_nxterm_kbdin_s *kbdin =
|
FAR struct boardioc_nxterm_kbdin_s *kbdin =
|
||||||
(FAR struct boardioc_nxterm_kbdin_s *)((uintptr_t)arg);
|
(FAR struct boardioc_nxterm_kbdin_s *)((uintptr_t)arg);
|
||||||
|
|
||||||
nxterm_kbdin(kbdin->handle, kbdin-buffer, kbdin->buflen);
|
nxterm_kbdin(kbdin->handle, kbdin->buffer, kbdin->buflen);
|
||||||
ret = OK;
|
ret = OK;
|
||||||
#else
|
#else
|
||||||
ret = -ENOSYS;
|
ret = -ENOSYS;
|
||||||
|
|||||||
Reference in New Issue
Block a user