mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 17:10:35 +08:00
Makefile add clang-check and clang-tidy helpers
This commit is contained in:
committed by
Lorenz Meier
parent
28971caaf3
commit
34b2fb55e6
@@ -393,7 +393,7 @@ int sdlog2_main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!strcmp(argv[1], "on")) {
|
||||
if (!strncmp(argv[1], "on", 2)) {
|
||||
struct vehicle_command_s cmd;
|
||||
cmd.command = VEHICLE_CMD_PREFLIGHT_STORAGE;
|
||||
cmd.param1 = -1;
|
||||
|
||||
Reference in New Issue
Block a user