style(mavlink): fix astyle formatting in FTP path validation
EKF Update Change Indicator / unit_tests (push) Has been cancelled

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche
2026-04-08 12:57:39 -07:00
parent 419c5535a8
commit 1226fe9e90
+1
View File
@@ -1250,6 +1250,7 @@ bool MavlinkFTP::_validatePathIsWritable(const char *path)
return true;
#else
// NuttX: simple string-based check. Original behavior, unchanged.
if (strncmp(path, CONFIG_BOARD_ROOT_PATH "/", strlen(CONFIG_BOARD_ROOT_PATH "/")) != 0
|| strstr(path, "/../") != nullptr) {