Skip to content
Snippets Groups Projects
Commit 41cc6792 authored by Julien Lecoeur's avatar Julien Lecoeur Committed by Lorenz Meier
Browse files

PX4Flow: allow restart directly after stop

parent 7a3a9a75
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment