mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-07 02:27:56 +00:00
porting: Fix linux port example
Linux port sample is using legacy advertising API which is disabled if Extended Advertising is enabled. For testing complete linux build we should have separate linux_dummy sample which doesn't call any APIs for simplicity.
This commit is contained in:
@@ -236,7 +236,7 @@
|
||||
|
||||
/*** net/nimble */
|
||||
#ifndef MYNEWT_VAL_BLE_EXT_ADV
|
||||
#define MYNEWT_VAL_BLE_EXT_ADV (1)
|
||||
#define MYNEWT_VAL_BLE_EXT_ADV (0)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE
|
||||
@@ -256,7 +256,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_PERIODIC_ADV
|
||||
#define MYNEWT_VAL_BLE_PERIODIC_ADV (1)
|
||||
#define MYNEWT_VAL_BLE_PERIODIC_ADV (0)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_ROLE_BROADCASTER
|
||||
|
||||
Reference in New Issue
Block a user