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) <claude@anthropic.com>
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
This commit is contained in:
Junbo Zheng 2026-09-15 14:19:51 +08:00 • committed by Alan C. Assis
parent 6e79ea2d85
commit 2968b2c587

View file

@ -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;