diff --git a/services/URIBeaconConfigService.h b/services/URIBeaconConfigService.h index 05d1b75..01dff98 100644 --- a/services/URIBeaconConfigService.h +++ b/services/URIBeaconConfigService.h @@ -91,7 +91,7 @@ public: } strcpy(reinterpret_cast(uriData), uriDataIn); - if (powerModeIn != NULL) { + if (powerLevelsIn != NULL) { memcpy(powerLevels, powerLevelsIn, sizeof(powerLevels)); updateTxPowerLevelsCharacteristic(); }