diff --git a/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.c b/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.c index 2ccfe85bfa..0e0045784a 100644 --- a/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.c +++ b/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.c @@ -13,11 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "ns_types.h" -#include "rf_configuration.h" -#include "mbed_trace.h" -#define TRACE_GROUP "rfcf" +#include "rf_configuration.h" // Note that F_XO and F_DIG depends on the used clock frequency #define F_XO 50000000 diff --git a/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.h b/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.h index e6869b2748..c48b370b6d 100644 --- a/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.h +++ b/components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.h @@ -16,6 +16,9 @@ #ifndef RF_CONF_H_ #define RF_CONF_H_ + +#include + #ifdef __cplusplus extern "C" { #endif