Fixes #1370 Adds a simple helper assertion to tell the user how to enable BT if it's not enabled, instead of some odd compilation warnings about undefined functions.
7 lines
252 B
C
7 lines
252 B
C
// Simple helper header to ensure pico libs support ?BT
|
|
|
|
#ifndef ENABLE_CLASSIC
|
|
#define ENABLE_CLASSIC 0
|
|
#endif
|
|
|
|
static_assert(ENABLE_CLASSIC, "This library needs Bluetooth enabled. Use the 'Tools->IP/Bluetooth Stack' menu in the IDE to enable it.");
|