From b2b7bedde0ba955cd7c8e2c368667f561c060c9d Mon Sep 17 00:00:00 2001 From: Carlos Pereira Atencio Date: Wed, 8 Nov 2023 11:36:34 +0000 Subject: [PATCH] datalogger: Change flags from CODAL-only to both DAL and CODAL, due to issue #5352. Due to issue https://github.com/microsoft/pxt-microbit/issues/5352 the flags set up only for CODAL don't work correctly. The issue will be fixed in the future, but as a workaround we can set the flag for both DAL and CODAL, even if this is a V2 only feature. --- libs/datalogger/pxt.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libs/datalogger/pxt.json b/libs/datalogger/pxt.json index 2bdc32704a4..0ea330950dd 100644 --- a/libs/datalogger/pxt.json +++ b/libs/datalogger/pxt.json @@ -14,19 +14,15 @@ }, "yotta": { "config": { - "codal": { - "MICROBIT_BLE_UTILITY_SERVICE": 1, - "MICROBIT_BLE_UTILITY_SERVICE_PAIRING": 1 - } + "MICROBIT_BLE_UTILITY_SERVICE": 1, + "MICROBIT_BLE_UTILITY_SERVICE_PAIRING": 1 }, "userConfigs": [ { "description": "Disable Bluetooth Utility Service", "config": { - "codal": { - "MICROBIT_BLE_UTILITY_SERVICE": 0, - "MICROBIT_BLE_UTILITY_SERVICE_PAIRING": 0 - } + "MICROBIT_BLE_UTILITY_SERVICE": 0, + "MICROBIT_BLE_UTILITY_SERVICE_PAIRING": 0 } } ]