Fixes after testing on ESP32.
This commit is contained in:
parent
cd33c35974
commit
c11206e625
1 changed files with 0 additions and 4 deletions
|
@ -326,10 +326,6 @@ void BLE_UpdateHelloPacket()
|
||||||
{
|
{
|
||||||
strcpy(device_name, "Anonymous");
|
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;
|
Advertising_Data.length = BLE_KTAG_PACKET_TOTAL_SIZE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue