Skip to content

Compilation Error - Bluetooth #498

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

Closed
ImRaptor opened this issue Jun 13, 2023 · 2 comments
Closed

Compilation Error - Bluetooth #498

ImRaptor opened this issue Jun 13, 2023 · 2 comments

Comments

@ImRaptor
Copy link

Subject of the issue

Fails to compile if COMPILE_BT is not defined. Error message is 'bluetoothSerial' was not declared in this scope.
Function pinBluetoothTask does not have the #ifdef/#endif block defined for COMPILE_BT so it is trying to load things that have been excluded.
Wrapping the function content with the appropriate #ifdef COMPILE_BT block corrects the issue.

Steps to reproduce

Comment out COMPILE_BT in RTK_Surveyor.ino

nseidle added a commit that referenced this issue Jun 19, 2023
@nseidle
Copy link
Member

nseidle commented Jun 19, 2023

Welcome! Thanks for reporting!

I forgot some compile guards. This is fixed in RC.

@nseidle
Copy link
Member

nseidle commented Jun 21, 2023

This has been implemented in v3.5.

@nseidle nseidle closed this as completed Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants