File tree Expand file tree Collapse file tree 1 file changed +0
-1
lines changed
hal_st/middlewares/ble_middleware Expand file tree Collapse file tree 1 file changed +0
-1
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,6 @@ namespace hal
296296 discoveredDevice.eventType = ToAdvertisingEventType (advertisingReport.Event_Type );
297297 discoveredDevice.addressType = ToAdvertisingAddressType (advertisingReport.Address_Type );
298298 std::copy (advertisementData, advertisementData + advertisingReport.Length_Data , discoveredDevice.data .begin ());
299- std::copy (discoveredDevice.data .begin (), discoveredDevice.data .begin () + advertisingReport.Length_Data , advertisementData);
300299 discoveredDevice.rssi = static_cast <int8_t >(*const_cast <uint8_t *>(advertisementData + advertisingReport.Length_Data ));
301300
302301 infra::Subject<services::GapCentralObserver>::NotifyObservers ([&discoveredDevice](auto & observer)
You can’t perform that action at this time.
0 commit comments