Skip to content

Compilation Error - Bluetooth #498

@ImRaptor

Description

@ImRaptor

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions