Skip to content

Skip redefining MICROBIT_BLE_SECURITY_MODE when MICROBIT_BLE_OPEN = 1#13

Open
martinwork wants to merge 1 commit into
microbit-foundation:masterfrom
martinwork:fix-open-link-build
Open

Skip redefining MICROBIT_BLE_SECURITY_MODE when MICROBIT_BLE_OPEN = 1#13
martinwork wants to merge 1 commit into
microbit-foundation:masterfrom
martinwork:fix-open-link-build

Conversation

@martinwork

Copy link
Copy Markdown
Collaborator

No description provided.

@microbit-carlos

Copy link
Copy Markdown
Contributor

@JohnVidler could you add this to your backlog for after the MakeCode 2022 work?

@microbit-carlos

Copy link
Copy Markdown
Contributor

@JohnVidler I can't add this to the CODAL project as it's not in the lancaster org, could you make sure you add it to your backlog?

@jaustin

jaustin commented May 1, 2024

Copy link
Copy Markdown
Contributor

@finneyj this is currently causing breakage as people try to move back to MakeCode/Python with the iOS or Android app after using ML tool (ml.microbit.org/thenextgen). Could we please review and fix to go into the next MakeCode release?

CC @microbit-carlos

@martinwork

Copy link
Copy Markdown
Collaborator Author

It adds a second #ifndef MICROBIT_BLE_SECURITY_MODE inside an existing #ifndef MICROBIT_BLE_SECURITY_MODE.

This avoids redefining MICROBIT_BLE_SECURITY_MODE after the MICROBIT_BLE_OPEN == 1 block defines it.

It makes the code match MicroBitConfig.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants