Skip to content

Commit 8fbecf2

Browse files
committed
Nordic BLE: Fix incorrect assignement
1 parent 68b3288 commit 8fbecf2

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5x/source/nRF5xn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ble_error_t nRF5xn::init(BLE::InstanceID_t instanceID, FunctionPointerWithContex
126126
return BLE_ERROR_ALREADY_INITIALIZED;
127127
}
128128

129-
instanceID = instanceID;
129+
this->instanceID = instanceID;
130130

131131
/* ToDo: Clear memory contents, reset the SD, etc. */
132132
if (btle_init() != ERROR_NONE) {

0 commit comments

Comments
 (0)