Skip to content

Commit 7c9dbde

Browse files
Ayush1325henrikbrixandersen
authored andcommitted
ieee802154: ieee802154_cc13xx_cc26xx_subg: Fix 6lowpan for cc1352p7
- Fix using custom setup function - Enable pRegOverrideTxStd and pRegOverrideTx20 in ieee802154_cc13xx_subg_radio_div_setup struct Signed-off-by: Ayush Singh <[email protected]>
1 parent 1368615 commit 7c9dbde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/ieee802154/ieee802154_cc13xx_cc26xx_subg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static int drv_stop_rx(const struct device *dev);
4545
/* User-defined CMD_PROP_RADIO_DIV_SETUP structures */
4646
#if defined(CONFIG_SOC_CC1352R)
4747
extern volatile rfc_CMD_PROP_RADIO_DIV_SETUP_t ieee802154_cc13xx_subg_radio_div_setup;
48-
#elif defined(CONFIG_SOC_CC1352P)
48+
#elif defined(CONFIG_SOC_CC1352P) || defined(CONFIG_SOC_CC1352P7)
4949
extern volatile rfc_CMD_PROP_RADIO_DIV_SETUP_PA_t ieee802154_cc13xx_subg_radio_div_setup;
5050
#endif /* CONFIG_SOC_CC1352x, extern RADIO_DIV_SETUP */
5151
#else
@@ -170,10 +170,10 @@ static volatile rfc_CMD_PROP_RADIO_DIV_SETUP_PA_t ieee802154_cc13xx_subg_radio_d
170170
.intFreq = 0x8000, /* Use default intermediate frequency. */
171171
.loDivider = 5,
172172
.pRegOverride = ieee802154_cc13xx_overrides_sub_ghz,
173-
#if defined(CONFIG_SOC_CC1352P)
173+
#if defined(CONFIG_SOC_CC1352P) || defined(CONFIG_SOC_CC1352P7)
174174
.pRegOverrideTxStd = rf_prop_overrides_tx_std,
175175
.pRegOverrideTx20 = rf_prop_overrides_tx_20,
176-
#endif /* CONFIG_SOC_CC1352P */
176+
#endif /* CONFIG_SOC_CC1352P, CONFIG_SOC_CC1352P7 */
177177
};
178178

179179
#endif /* CONFIG_IEEE802154_CC13XX_CC26XX_SUB_GHZ_CUSTOM_RADIO_SETUP */

0 commit comments

Comments
 (0)