Fixes after testing on ESP32.

This commit is contained in:
Joe Kearney 2025-03-01 18:59:46 -06:00
parent cd33c35974
commit c11206e625

View file

@ -326,10 +326,6 @@ void BLE_UpdateHelloPacket()
{
strcpy(device_name, "Anonymous");
}
size_t len = strlen(device_name);
if (len < sizeof(device_name)) {
memset(device_name + len, 0x00, sizeof(device_name) - len);
}
Advertising_Data.length = BLE_KTAG_PACKET_TOTAL_SIZE;