Skip to content

Commit 24e4726

Browse files
fix sonarqube issues
1 parent dff3e60 commit 24e4726

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/ble/Gap.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
#include "services/ble/Gap.hpp"
22
#include "infra/util/BoundedString.hpp"
3-
#include "infra/util/Endian.hpp"
43
#include "infra/util/MemoryRange.hpp"
54
#include "infra/util/Optional.hpp"
65

76
namespace
87
{
9-
void AddHeader(infra::BoundedVector<uint8_t>& payload, uint8_t length, services::GapAdvertisementDataType type)
8+
void AddHeader(infra::BoundedVector<uint8_t>& payload, std::size_t length, services::GapAdvertisementDataType type)
109
{
1110
payload.push_back(length + 1);
1211
payload.push_back(static_cast<uint8_t>(type));

0 commit comments

Comments
 (0)