more clean up
This commit is contained in:
1 parent
a96bcc04d2
commit
a14e575dd2
2 files changed
+4
-2
No files matched your search
@@ -234,8 +234,10 @@ bool BLEAdvertising::_start(uint16_t interval, uint16_t timeout)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BLEAdvertising::start(uint32_t stop_sec)
|
||||
bool BLEAdvertising::start(uint16_t timeout)
|
||||
{
|
||||
_stop_timeout = timeout;
|
||||
|
||||
// Configure Data
|
||||
VERIFY_STATUS( sd_ble_gap_adv_data_set(_data, _count, Bluefruit.ScanResponse.getData(), Bluefruit.ScanResponse.count()), false );
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
bool setBeacon(BLEBeacon& beacon);
|
||||
|
||||
bool start(uint32_t stop_sec = 0);
|
||||
bool start(uint16_t timeout = 0);
|
||||
bool stop (void);
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user