From 01e5682e70645af353ca0ef1607892efcaa567bd Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Wed, 24 Jun 2015 14:49:35 -0400 Subject: [PATCH] Small build fix for mobile (Android and iOS). --- src/uas/UAS.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 5abecb5248..50009d5c84 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -242,12 +242,14 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(), */ UAS::~UAS() { +#ifndef __mobile__ stopHil(); if (simulation) { // wait for the simulator to exit simulation->wait(); simulation->deleteLater(); } +#endif writeSettings(); } -- GitLab