diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-24 13:37:24 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-24 13:37:24 +0100 |
commit | 7989505bf43c6dd0ea846f075337261f52e7bd5f (patch) | |
tree | eb5257eca5e798e63f48dfb39fb81fc20ed50d50 /source/main.cpp | |
parent | dfabc6f837023ac4aaade2fddaa98a3a6777391e (diff) | |
download | hoverbit-ble-7989505bf43c6dd0ea846f075337261f52e7bd5f.tar.gz hoverbit-ble-7989505bf43c6dd0ea846f075337261f52e7bd5f.zip |
:art: Use extern MicroBit instead of sending pointer to classes
Diffstat (limited to 'source/main.cpp')
-rw-r--r-- | source/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/main.cpp b/source/main.cpp index 8d5e837..de11801 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -258,7 +258,7 @@ int main() { /* Initialize hover:bit controller module * the init procedure have to be run within 100ms after air:bit power up */ - controller.init(&uBit); + controller.init(); // Setup listeners uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_CONNECTED, onConnected); |