re-organized code within resetDefaults()
This commit is contained in:
parent
8491673e7d
commit
9168068e56
1 changed files with 3 additions and 3 deletions
|
@ -306,13 +306,13 @@ private:
|
|||
}
|
||||
|
||||
void resetDefaults(void) {
|
||||
memset(uriData, 0, MAX_SIZE_URI_DATA_CHAR_VALUE);
|
||||
lockedState = false;
|
||||
uriDataLength = 0;
|
||||
memset(powerLevels, 0, sizeof(powerLevels));
|
||||
memset(uriData, 0, MAX_SIZE_URI_DATA_CHAR_VALUE);
|
||||
flags = 0;
|
||||
effectiveTxPower = 0;
|
||||
memset(powerLevels, 0, sizeof(powerLevels));
|
||||
beaconPeriod = 0;
|
||||
lockedState = false;
|
||||
|
||||
updateGATT();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue