mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 06:24:07 +08:00
PX4Flow: allow restart directly after stop
This commit is contained in:
parent
7a3a9a75d5
commit
41cc679258
@ -833,6 +833,8 @@ start(int argc, char *argv[])
|
||||
void
|
||||
stop()
|
||||
{
|
||||
start_in_progress = false;
|
||||
|
||||
if (g_dev != nullptr) {
|
||||
delete g_dev;
|
||||
g_dev = nullptr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user