From 49148e76706e5e24c2ba7f6ccc1d7ec4736ab2f3 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 3 Mar 2021 15:24:13 +0000 Subject: support cheap chinese blue pill boards, make usb dfu compatible with dfuse --- app/project.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'app/project.h') diff --git a/app/project.h b/app/project.h index 3df1a38..f4b113b 100644 --- a/app/project.h +++ b/app/project.h @@ -10,16 +10,11 @@ #include #include #include +#include +#include #include -#define INCLUDE_DFU_INTERFACE #undef I2C_BIT_BANG -#define USB - -#ifdef INCLUDE_DFU_INTERFACE -#include -#include -#endif #include #include @@ -33,3 +28,5 @@ #include "ring.h" #include "prototypes.h" + +extern uint32_t dfu_flag; -- cgit v1.2.3