Skip to content

Commit 3ab6981

Browse files
committed
Suppress warnings in Example8 compilation
1 parent faa2c5a commit 3ab6981

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

libraries/Examples/examples/Example8_BLE_LED/nus_main.c

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
#include "gap_api.h"
4848
#include "fmpl/fmpl_api.h"
4949

50+
extern void debug_print(const char* f, const char* F, uint16_t L);
51+
extern void debug_printf(char* fmt, ...);
52+
extern void set_led_high( void );
53+
extern void set_led_low( void );
54+
5055
/**************************************************************************************************
5156
Macros
5257
**************************************************************************************************/

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ version=0.1.0
2828

2929
## Extra Flags (can be overridden in platform.local.txt)
3030
compiler.extra_flags.cpp=
31-
compiler.extra_flags.c=
31+
compiler.extra_flags.c=-Wno-unused-but-set-variable
3232
compiler.extra_flags.S=
3333
compiler.extra_flags.ld=
3434
compiler.extra_flags.ar=

0 commit comments

Comments
 (0)