diff --git a/libs/microbit/core.cpp b/libs/microbit/core.cpp index 92dd6285..39a2db37 100644 --- a/libs/microbit/core.cpp +++ b/libs/microbit/core.cpp @@ -199,7 +199,7 @@ namespace ArrayImpl { } // Import some stuff directly -namespace ks { +namespace kindscript { //% void registerWithDal(int id, int event, Action a); //% diff --git a/libs/microbit/kind.json b/libs/microbit/kind.json index ef6501ea..2dff51ed 100644 --- a/libs/microbit/kind.json +++ b/libs/microbit/kind.json @@ -27,6 +27,11 @@ ], "public": true, "dependencies": {}, + "microbit": { + "config": { + "MESSAGE_BUS_LISTENER_DEFAULT_FLAGS": "MESSAGE_BUS_LISTENER_QUEUE_IF_BUSY" + } + }, "target": { "id": "microbit", "name": "BBC micro:bit", @@ -83,7 +88,7 @@ "autoRun": true }, "compileService": { - "gittag": "v0", + "gittag": "v0.1.2", "serviceId": "ws" }, "serial": { diff --git a/libs/microbit/ksbit.h b/libs/microbit/ksbit.h index ce4a2616..97012b5e 100644 --- a/libs/microbit/ksbit.h +++ b/libs/microbit/ksbit.h @@ -1,6 +1,6 @@ #include "kindscript.h" -using namespace ks; +using namespace kindscript; MicroBitPin *getPin(int id); typedef ImageData* Image;