From ef098cbd28ac1478368d2b2d00f99d149e58039c Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Sat, 2 Apr 2016 14:18:10 -0700 Subject: [PATCH] Use -core v0.1.2 --- libs/microbit/core.cpp | 2 +- libs/microbit/kind.json | 7 ++++++- libs/microbit/ksbit.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) 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;