* companion, HeltecV3: now picks random BLE pin for every session (from boot), unless a (non-zero) one stored in _prefs

* companion, WSL3: uses static BLE pin, per build BLE_PIN_CODE define
This commit is contained in:
Scott Powell 2025-03-05 19:14:34 +11:00
parent 01d84d5d3e
commit 78ee88c9ed
3 changed files with 35 additions and 11 deletions

View file

@ -78,7 +78,7 @@ void UITask::renderCurrScreen() {
if (_connected) {
//_display->printf("freq : %03.2f sf %d\n", _prefs.freq, _prefs.sf);
//_display->printf("bw : %03.2f cr %d\n", _prefs.bw, _prefs.cr);
} else {
} else if (_pin_code != 0) {
_display->setTextSize(2);
_display->setCursor(0, 43);
sprintf(tmp, "Pin:%d", _pin_code);