should still call configureGAP after updating powerLevels.

This commit is contained in:
Rohit Grover 2014-12-01 13:43:28 +00:00
parent 62e9ce268b
commit eaa62b877b

View file

@ -145,6 +145,7 @@ public:
*/
void setTxPowerLevels(const int8_t powerLevelsIn[NUM_POWER_MODES]) {
memcpy(powerLevels, powerLevelsIn, sizeof(powerLevels));
configureGAP();
updateTxPowerLevelsCharacteristic();
}