mirror of https://github.com/ARMmbed/mbed-os.git
Nordic BLE: Add default parameter to get the local instance of nrF5xn
parent
8e7936d327
commit
5c7b8c8ea4
|
@ -134,7 +134,7 @@ public:
|
|||
virtual void processEvents();
|
||||
|
||||
public:
|
||||
static nRF5xn& Instance(BLE::InstanceID_t instanceId);
|
||||
static nRF5xn& Instance(BLE::InstanceID_t instanceId = BLE::DEFAULT_INSTANCE);
|
||||
|
||||
private:
|
||||
bool initialized;
|
||||
|
|
|
@ -133,7 +133,7 @@ public:
|
|||
virtual void processEvents();
|
||||
|
||||
public:
|
||||
static nRF5xn& Instance(BLE::InstanceID_t instanceId);
|
||||
static nRF5xn& Instance(BLE::InstanceID_t instanceId = BLE::DEFAULT_INSTANCE);
|
||||
|
||||
private:
|
||||
bool initialized;
|
||||
|
|
Loading…
Reference in New Issue