Skip to content

Commit ea96ee9

Browse files
DeepikaCruz Monrreal II
authored andcommitted
Fix header files used in 802.15.4_RF
"ns_types.h" is not used, but included. Results in build failure when networking feature is ignored with .mbedignored "mbed_trace.h" not used.
1 parent 0332182 commit ea96ee9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "ns_types.h"
17-
#include "rf_configuration.h"
18-
#include "mbed_trace.h"
1916

20-
#define TRACE_GROUP "rfcf"
17+
#include "rf_configuration.h"
2118

2219
// Note that F_XO and F_DIG depends on the used clock frequency
2320
#define F_XO 50000000

components/802.15.4_RF/stm-s2lp-rf-driver/source/rf_configuration.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
#ifndef RF_CONF_H_
1818
#define RF_CONF_H_
19+
20+
#include <stdint.h>
21+
1922
#ifdef __cplusplus
2023
extern "C" {
2124
#endif

0 commit comments

Comments
 (0)