Skip to content

Commit bf50479

Browse files
authored
Merge pull request #784 from CSC-Sendance/master
FIX #197 : Replace varclr with arrclr for BLEAdvertising _data fields
2 parents fb4eb52 + dc1b3d7 commit bf50479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Bluefruit52Lib/src/BLEAdvertising.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
BLEAdvertisingData::BLEAdvertisingData(void)
4343
{
4444
_count = 0;
45-
varclr(_data);
45+
arrclr(_data);
4646
}
4747

4848
bool BLEAdvertisingData::addData(uint8_t type, const void* data, uint8_t len)
@@ -242,7 +242,7 @@ bool BLEAdvertisingData::setData(uint8_t const * data, uint8_t count)
242242
void BLEAdvertisingData::clearData(void)
243243
{
244244
_count = 0;
245-
varclr(_data);
245+
arrclr(_data);
246246
}
247247

248248
/*------------------------------------------------------------------*/

0 commit comments

Comments
 (0)