Merge pull request #436 from 446564/fix-nano-g2-ota-name

update nano g2 ultra BLE name for OTA
This commit is contained in:
ripplebiz 2025-06-22 15:11:30 +10:00 committed by GitHub
commit 727a044dde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ bool NanoG2Ultra::startOTAUpdate(const char *id, char reply[])
// Set max power. Accepted values are: -40, -30, -20, -16, -12, -8, -4, 0, 4
Bluefruit.setTxPower(4);
// Set the BLE device name
Bluefruit.setName("TECHO_OTA");
Bluefruit.setName("NANO_G2_OTA");
Bluefruit.Periph.setConnectCallback(connect_callback);
Bluefruit.Periph.setDisconnectCallback(disconnect_callback);