From 3d48137c00511b3f2d35511482d1a76f8d06382d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Feb 2021 12:12:38 +0000 Subject: works --- app/project.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'app/project.h') diff --git a/app/project.h b/app/project.h index 5785628..ca623de 100644 --- a/app/project.h +++ b/app/project.h @@ -27,14 +27,16 @@ #include #include #include +#include /* Drivers */ #include #include #include #include -#ifdef INCLUDE_DFU_INTERFACE #include -#endif + +#include "id.h" + @@ -44,7 +46,7 @@ #include #include #include -#include +#include #include #include "time_fn.h" @@ -84,5 +86,6 @@ extern const unsigned char almanac_alp[]; extern unsigned int almanac_alp_len; -#define ID_VENDOR 0x0483 -#define ID_PRODUCT 0x5740 +extern uint32_t dfu_flag; + + -- cgit v1.2.3