From d953adf0cb0b908f153437e3055c0773ef1d77f2 Mon Sep 17 00:00:00 2001 From: Olav Frengstad Date: Tue, 4 Sep 2018 18:31:48 +0200 Subject: [PATCH] Make cc26xx radio driver configurable in prop mode operation It's already possible to override the default radio driver when operating in IEEE mode. This patch opens up for users defining their own radio driver when using prop mode. This is useful when overriding certain radio driver functions. --- arch/cpu/cc26xx-cc13xx/cc13xx-cc26xx-conf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/cpu/cc26xx-cc13xx/cc13xx-cc26xx-conf.h b/arch/cpu/cc26xx-cc13xx/cc13xx-cc26xx-conf.h index df1ca0440..6ff047ebe 100644 --- a/arch/cpu/cc26xx-cc13xx/cc13xx-cc26xx-conf.h +++ b/arch/cpu/cc26xx-cc13xx/cc13xx-cc26xx-conf.h @@ -71,7 +71,9 @@ #endif /* CPU_FAMILY_CC13XX */ #if CC13XX_CONF_PROP_MODE +#ifndef NETSTACK_CONF_RADIO #define NETSTACK_CONF_RADIO prop_mode_driver +#endif /* NETSTACK_CONF_RADIO */ /* Channels count from 0 upwards in IEEE 802.15.4g */ #ifndef IEEE802154_CONF_DEFAULT_CHANNEL