Skip to content

Commit

Permalink
Merge pull request #784 from CSC-Sendance/master
Browse files Browse the repository at this point in the history
FIX #197 : Replace varclr with arrclr for BLEAdvertising _data fields
  • Loading branch information
hathach committed Jul 26, 2023
2 parents fb4eb52 + dc1b3d7 commit bf50479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/Bluefruit52Lib/src/BLEAdvertising.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
BLEAdvertisingData::BLEAdvertisingData(void)
{
_count = 0;
varclr(_data);
arrclr(_data);
}

bool BLEAdvertisingData::addData(uint8_t type, const void* data, uint8_t len)
Expand Down Expand Up @@ -242,7 +242,7 @@ bool BLEAdvertisingData::setData(uint8_t const * data, uint8_t count)
void BLEAdvertisingData::clearData(void)
{
_count = 0;
varclr(_data);
arrclr(_data);
}

/*------------------------------------------------------------------*/
Expand Down

0 comments on commit bf50479

Please sign in to comment.