Bluetooth: host: Fix typo in PA defines and missing min check

Fixes a typo where the BT_GAP_PER_ADV macros had MAX twice,
as well as adding a MIN timeout macro and check.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-04-20 12:27:29 +02:00 committed by Anas Nashif
commit 59f3e2c502
2 changed files with 6 additions and 4 deletions

View file

@ -146,8 +146,9 @@ enum {
#define BT_GAP_DATA_TIME_MAX 0x4290 /* 17040 us */
#define BT_GAP_SID_MAX 0x0F
#define BT_GAP_PER_ADV_MAX_MAX_SKIP 0x01F3
#define BT_GAP_PER_ADV_MAX_MAX_TIMEOUT 0x4000
#define BT_GAP_PER_ADV_MAX_SKIP 0x01F3
#define BT_GAP_PER_ADV_MIN_TIMEOUT 0x000A
#define BT_GAP_PER_ADV_MAX_TIMEOUT 0x4000
/** Constant Tone Extension (CTE) types */