mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 15:42:22 +01:00
fix name
This commit is contained in:
@@ -252,7 +252,7 @@ void BluetoothConnection::send_service_for_discovery_() {
|
|||||||
|
|
||||||
// Calculate the actual size of just this service
|
// Calculate the actual size of just this service
|
||||||
api::ProtoSize service_sizer;
|
api::ProtoSize service_sizer;
|
||||||
service.calculate_size(service_sizer);
|
service_resp.calculate_size(service_sizer);
|
||||||
size_t service_size = service_sizer.get_size() + 1; // +1 for field tag
|
size_t service_size = service_sizer.get_size() + 1; // +1 for field tag
|
||||||
|
|
||||||
// Check if adding this service would exceed the limit
|
// Check if adding this service would exceed the limit
|
||||||
|
Reference in New Issue
Block a user