From 3caea2fb97bd8520a376ff3bee553dafd396e5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 1 Feb 2021 12:58:07 -0300 Subject: [PATCH] ESP8266ComponentController: Add missing const in member functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/AutoPilotPlugins/Common/ESP8266ComponentController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/Common/ESP8266ComponentController.h b/src/AutoPilotPlugins/Common/ESP8266ComponentController.h index 2f637cc..7f41ca7 100644 --- a/src/AutoPilotPlugins/Common/ESP8266ComponentController.h +++ b/src/AutoPilotPlugins/Common/ESP8266ComponentController.h @@ -63,7 +63,7 @@ public: QStringList wifiChannels () { return _channels; } QStringList baudRates () { return _baudRates; } int baudIndex (); - bool busy () { return _waitType != WAIT_FOR_NOTHING; } + bool busy () const{ return _waitType != WAIT_FOR_NOTHING; } Vehicle* vehicle () { return _vehicle; } void setWifiSSID (QString id);