This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 2968b2c587b24fb9372cecfdb3da41e762396327 Author: Junbo Zheng <[email protected]> AuthorDate: Tue Sep 15 14:19:51 2026 +0800 monkey: add missing blank lines after declarations The nxstyle check on CI flagged three spots in monkey_main.c where a declaration block runs directly into the following statement. Insert a blank line after the declarations at each location; no logic change. Fixes the Check job failure on PR #3784: https://github.com/apache/nuttx-apps/actions/runs/34935981535/job/104273851956?pr=3784 Before: ``` graphics/input/monkey/monkey_main.c:223:2: error: Missing blank line after declarations graphics/input/monkey/monkey_main.c:363:2: error: Missing blank line after declarations graphics/input/monkey/monkey_main.c:526:6: error: Missing blank line after declarations ``` After: ``` nxstyle monkey_main.c -> exit 0 ``` Assisted-by: Claude Code (GLM-5.3) <[email protected]> Signed-off-by: Junbo Zheng <[email protected]> --- graphics/input/monkey/monkey_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graphics/input/monkey/monkey_main.c b/graphics/input/monkey/monkey_main.c index f495bea59..348f8e4d5 100644 --- a/graphics/input/monkey/monkey_main.c +++ b/graphics/input/monkey/monkey_main.c @@ -220,6 +220,7 @@ static int monkey_get_screen_resolution(FAR int *hor_res, FAR int *ver_res) int fd; int ret; FAR const char *dev_path = MONKEY_SCREEN_DEV; + *hor_res = MONKEY_SCREEN_HOR_RES_DEFAULT; *ver_res = MONKEY_SCREEN_VER_RES_DEFAULT; fd = open(dev_path, 0); @@ -360,6 +361,7 @@ static void parse_long_commandline(int argc, FAR char **argv, FAR struct monkey_param_s *param) { int event_index; + switch (longindex) { case 0: @@ -523,6 +525,7 @@ static enum monkey_wait_res_e monkey_wait(uint32_t ms) if (ret < 0) { int errcode = errno; + if (errcode == EINTR) { res = MONKEY_WAIT_RES_STOP;
