File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef _BOOTLOADER_H_
2
2
#define _BOOTLOADER_H_
3
3
4
+
5
+ #include <stdint.h>
6
+
4
7
/* Ensure DTR_TOGGLING_SEQ enabled */
5
8
#if defined(BL_LEGACY_LEAF ) || defined(BL_HID )
6
9
#ifndef DTR_TOGGLING_SEQ
12
15
extern "C" {
13
16
#endif /* __cplusplus */
14
17
18
+ #ifdef DTR_TOGGLING_SEQ
19
+ /* DTR toggling sequence management */
20
+ void dtr_togglingHook (uint8_t * buf , uint32_t * len );
21
+ #endif
22
+
15
23
#ifdef __cplusplus
16
24
}
17
25
#endif /* __cplusplus */
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ __IO bool receivePended = true;
56
56
static uint32_t transmitStart = 0 ;
57
57
58
58
#ifdef DTR_TOGGLING_SEQ
59
- /* DTR toggling sequence management */
60
- extern void dtr_togglingHook (uint8_t * buf , uint32_t * len );
61
59
uint8_t dtr_toggling = 0 ;
62
60
#endif
63
61
You can’t perform that action at this time.
0 commit comments