Skip to content

Commit

Permalink
fix(BLE): Converting bool_t to bool (#1227)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-gillespie authored Oct 14, 2024
1 parent 2e34472 commit 679fc79
Show file tree
Hide file tree
Showing 36 changed files with 63 additions and 76 deletions.
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE5_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.0 requirements. */
mainLlRtCfg.btVer = BT_VER;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_FreeRTOS/stack_dats.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void bleStartup(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_HCI_DFU/BLT/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.0 requirements. */
mainLlRtCfg.btVer = BT_VER;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_datc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_dats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_fit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_fit_FreeRTOS/bt_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void btStartup(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_mcs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_otac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/BLE_otas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32655/Bluetooth/RF_Test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.1 requirements. */
mainLlRtCfg.btVer = LL_VER_BT_CORE_SPEC_5_0;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE5_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.0 requirements. */
mainLlRtCfg.btVer = BT_VER;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_FreeRTOS/stack_dats.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ void bleStartup(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_LR_Central/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_LR_Peripheral/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_datc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_dats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_fit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_mcs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_otac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_otas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/RF_Test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.1 requirements. */
mainLlRtCfg.btVer = LL_VER_BT_CORE_SPEC_5_0;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32680/Bluetooth/BLE_dats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE5_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.0 requirements. */
mainLlRtCfg.btVer = BT_VER;
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_FreeRTOS/stack_dats.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void bleStartup(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_datc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_dats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_fit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_mcs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_otac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/BLE_otas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ int main(void)
#endif
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
#if (BT_VER >= LL_VER_BT_CORE_SPEC_5_0)
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);
#endif

/* Set the 32k sleep clock accuracy into one of the following bins, default is 20
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32690/Bluetooth/RF_Test/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static void mainLoadConfiguration(void)
PalBbLoadCfg((PalBbCfg_t *)&mainBbRtCfg);
LlGetDefaultRunTimeCfg(&mainLlRtCfg);
PalCfgLoadData(PAL_CFG_ID_LL_PARAM, &mainLlRtCfg.maxAdvSets, sizeof(LlRtCfg_t) - 9);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, &mainLlRtCfg.phy2mSup, 4);
PalCfgLoadData(PAL_CFG_ID_BLE_PHY, (uint8_t *)&mainLlRtCfg.phy2mSup, 4);

/* Set 5.1 requirements. */
mainLlRtCfg.btVer = LL_VER_BT_CORE_SPEC_5_0;
Expand Down
Loading

0 comments on commit 679fc79

Please sign in to comment.