Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip redefining MICROBIT_BLE_SECURITY_MODE when MICROBIT_BLE_OPEN = 1 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martinwork
Copy link
Collaborator

No description provided.

@microbit-carlos
Copy link

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

@microbit-carlos
Copy link

@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
Copy link
Contributor

jaustin commented May 1, 2024

@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
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