mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
Merge pull request #3533 from oltaco/fix/bad-comment-format
Fix bad comment format
This commit is contained in:
@@ -129,14 +129,12 @@ void SerialBLEInterface::begin(const char* prefix, char* name, uint32_t pin_code
|
|||||||
char charpin[20];
|
char charpin[20];
|
||||||
snprintf(charpin, sizeof(charpin), "%lu", (unsigned long)pin_code);
|
snprintf(charpin, sizeof(charpin), "%lu", (unsigned long)pin_code);
|
||||||
|
|
||||||
#ifdef DISABLE_BLE_LED \\ use variant platformio.ini build_flags macro: -D DISABLE_BLE_LED
|
#ifdef DISABLE_BLE_LED // use variant platformio.ini build_flags macro: -D DISABLE_BLE_LED
|
||||||
Bluefruit.autoConnLed(false); \\ false removes the automatic control of the LED by the Bluefruit library
|
Bluefruit.autoConnLed(false); // false removes the automatic control of the LED by the Bluefruit library
|
||||||
#else
|
#else
|
||||||
Bluefruit.autoConnLed(true); \\ true leaves the default automatic control of the LED by the Bluefruit library
|
Bluefruit.autoConnLed(true); // true leaves the default automatic control of the LED by the Bluefruit library
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If we want to control BLE LED ourselves, uncomment this:
|
|
||||||
// Bluefruit.autoConnLed(false);
|
|
||||||
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
Bluefruit.configPrphBandwidth(BANDWIDTH_MAX);
|
||||||
Bluefruit.begin();
|
Bluefruit.begin();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user