summaryrefslogtreecommitdiff
path: root/src/Components/Ble/BleController.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-04-05 16:59:15 (GMT)
committerGitea <gitea@fake.local>2020-04-05 16:59:15 (GMT)
commit6e1bd118c5ecc53016548072501591b329500870 (patch)
tree8447f6b7bbff0f423e9cf5d15ed709c630bed25e /src/Components/Ble/BleController.h
parent7e9a7e4d5fa0f55b43180600d499f1d0ce6aded1 (diff)
parentd5c2a58914fdeac4ef69382269b81d529e6d7c90 (diff)
Merge branch 'ble-notifications' of JF/PineTime into develop
Diffstat (limited to 'src/Components/Ble/BleController.h')
-rw-r--r--src/Components/Ble/BleController.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Components/Ble/BleController.h b/src/Components/Ble/BleController.h
index be491ee..31d6698 100644
--- a/src/Components/Ble/BleController.h
+++ b/src/Components/Ble/BleController.h
@@ -1,15 +1,20 @@
#pragma once
+#include <FreeRTOS.h>>
+#include <queue.h>
+
namespace Pinetime {
namespace Controllers {
class Ble {
public:
+
+ Ble() = default;
bool IsConnected() const {return isConnected;}
void Connect();
void Disconnect();
-
private:
bool isConnected = false;
+
};
}
} \ No newline at end of file