nuttx-apps/system/nxinit
Matteo Golin 6c08b45f3d
apps/nxinit: Fix service length error
Would not compile due to typo in macro describing service name length.

Change ensures that:
* We do not malloc an extra `len` bytes since this is already allocated
  as part of the struct
* The name string always has a null terminating byte

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>

FIx
2026-05-27 19:53:46 -04:00
..
action.c system/nxinit: Warning for long commands 2026-05-27 17:20:07 -03:00
action.h system/nxinit: Warning for long commands 2026-05-27 17:20:07 -03:00
builtin.c system/nxinit: Add exec_start support for action 2026-05-27 17:20:07 -03:00
builtin.h system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
CMakeLists.txt system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
import.c system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
import.h system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
init.c system/nxinit: Add final event 2026-05-27 17:20:07 -03:00
init.h system/nxinit: Change LOG_DEBUG to LOG_USER 2026-05-27 17:20:07 -03:00
Kconfig apps/nxinit: Fix Kconfig typo 2026-05-27 19:42:29 -04:00
Make.defs system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
Makefile system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
parser.c system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
parser.h system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
service.c apps/nxinit: Fix service length error 2026-05-27 19:53:46 -04:00
service.h system/nxinit: Let use a define to define the class max cmds 2026-05-27 17:20:07 -03:00