File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11#ifndef _BOOTLOADER_H_
22#define _BOOTLOADER_H_
33
4+ #include <stdint.h>
5+
46/* Ensure DTR_TOGGLING_SEQ enabled */
57#if defined(BL_LEGACY_LEAF ) || defined(BL_HID )
68#ifndef DTR_TOGGLING_SEQ
1214extern "C" {
1315#endif /* __cplusplus */
1416
17+ #ifdef DTR_TOGGLING_SEQ
18+ /* DTR toggling sequence management */
19+ void dtr_togglingHook (uint8_t * buf , uint32_t * len );
20+ #endif
21+
1522#ifdef __cplusplus
1623}
1724#endif /* __cplusplus */
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ __IO bool receivePended = true;
5656static uint32_t transmitStart = 0 ;
5757
5858#ifdef DTR_TOGGLING_SEQ
59- /* DTR toggling sequence management */
60- extern void dtr_togglingHook (uint8_t * buf , uint32_t * len );
6159uint8_t dtr_toggling = 0 ;
6260#endif
6361
You can’t perform that action at this time.
0 commit comments