This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit a0aee6e38617321ffe85f1a11ac1408ca8c31d2b Author: yangsong8 <[email protected]> AuthorDate: Fri Nov 13 21:02:29 2026 +0800 drivers/timers/capture: fix the nxstyle error in CAPIOC_GET_INPUT_STATE Add the missing blank line after the declaration in the CAPIOC_GET_INPUT_STATE case. No code change. Signed-off-by: yangsong8 <[email protected]> --- drivers/timers/capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timers/capture.c b/drivers/timers/capture.c index 4e98a5efcc7..363d55c66e3 100644 --- a/drivers/timers/capture.c +++ b/drivers/timers/capture.c @@ -572,6 +572,7 @@ static int cap_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case CAPIOC_GET_INPUT_STATE: { FAR uint8_t *ptr = (FAR uint8_t *)(uintptr_t)arg; + DEBUGASSERT(ptr); for (i = 0; i < upper->nchan; i++) {
