From 7989505bf43c6dd0ea846f075337261f52e7bd5f Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Wed, 24 Feb 2021 13:37:24 +0100 Subject: :art: Use extern MicroBit instead of sending pointer to classes --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/main.cpp') 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); -- cgit v1.2.3