Browse Source

HAL_SITL: fixed warning

apm_2208
Andrew Tridgell 3 years ago
parent
commit
a6cd7ffd20
  1. 2
      libraries/AP_HAL_SITL/system.cpp

2
libraries/AP_HAL_SITL/system.cpp

@ -52,7 +52,7 @@ void WEAK panic(const char *errormsg, ...) @@ -52,7 +52,7 @@ void WEAK panic(const char *errormsg, ...)
}
// partly flogged from: https://github.com/tridge/junkcode/blob/master/segv_handler/segv_handler.c
void run_command_on_ownpid(const char *commandname)
static void run_command_on_ownpid(const char *commandname)
{
// find dumpstack command:
const char *command_filepath = commandname; // if we can't find it trust in PATH

Loading…
Cancel
Save