Skip to content

Commit edc3fcf

Browse files
committed
system/init: remove bt & led driver init
1 parent 7410aff commit edc3fcf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

main/src/system/init.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
*/
77

88
#include "device/nvs.h"
9-
#include "device/bt.h"
109
#include "device/spi.h"
1110
#include "device/i2s.h"
1211
#include "device/wifi.h"
1312
#include "device/uart.h"
1413

15-
#include "driver/led.h"
1614
#include "driver/pn532.h"
1715

1816
void device_init(void)
@@ -21,8 +19,6 @@ void device_init(void)
2119
wifi0_init();
2220
uart1_init();
2321

24-
bt0_init();
25-
2622
#if defined(CONFIG_ENABLE_AUDIO)
2723
i2s0_init();
2824
#endif
@@ -34,8 +30,5 @@ void device_init(void)
3430

3531
void driver_init(void)
3632
{
37-
#if defined(CONFIG_ENABLE_LED)
38-
led_init();
39-
#endif
4033
pn532_init();
4134
}

0 commit comments

Comments
 (0)