clean up
This commit is contained in:
1 parent
f606157039
commit
f930d496a7
5 files changed
+33
-17
No files matched your search
@@ -276,7 +276,7 @@ err_t AdafruitBluefruit::begin(bool prph_enable, bool central_enable)
|
||||
VERIFY_STATUS( sd_ble_gap_tx_power_set( CFG_BLE_TX_POWER_LEVEL ) );
|
||||
|
||||
/*------------- DFU OTA as built-in service -------------*/
|
||||
// _dfu_svc.begin();
|
||||
_dfu_svc.begin();
|
||||
|
||||
if (_central_enabled) Central.begin(); // Init Central
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ err_t BLEDis::begin(void)
|
||||
// Invoke base class begin()
|
||||
VERIFY_STATUS( BLEService::begin() );
|
||||
|
||||
_serial = getMcuUniqueID();
|
||||
_serial = getMcuUniqueID();
|
||||
_firmware_rev = getFirmwareVersion();
|
||||
|
||||
for(uint8_t i=0; i<arrcount(_strarr); i++)
|
||||
|
||||
Reference in new issue
Block a user