We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530a2a1 commit e46123aCopy full SHA for e46123a
src/NimBLEService.cpp
@@ -160,7 +160,7 @@ bool NimBLEService::start() {
160
// of the characteristics for the service. We create 1 extra and set it to null
161
// for this purpose.
162
pChr_a = new ble_gatt_chr_def[numChrs + 1];
163
- uint8_t i = 0;
+ int i = 0;
164
for(auto chr_it = m_chrVec.begin(); chr_it != m_chrVec.end(); ++chr_it) {
165
if((*chr_it)->m_removed > 0) {
166
continue;
@@ -189,7 +189,7 @@ bool NimBLEService::start() {
189
} else {
190
// Must have last descriptor uuid = 0 so we have to create 1 extra
191
pDsc_a = new ble_gatt_dsc_def[numDscs+1];
192
- uint8_t d = 0;
+ int d = 0;
193
for(auto dsc_it = (*chr_it)->m_dscVec.begin(); dsc_it != (*chr_it)->m_dscVec.end(); ++dsc_it ) {
194
if((*dsc_it)->m_removed > 0) {
195
0 commit comments