From fdeb6471a812f80d9d497cdeee26b75f2d992850 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Wed, 19 Oct 2016 14:56:52 -0700 Subject: [PATCH] Added missing #include guard. --- src/platforms/stm32/usbdfu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platforms/stm32/usbdfu.h b/src/platforms/stm32/usbdfu.h index df68b85..3f5b3f8 100644 --- a/src/platforms/stm32/usbdfu.h +++ b/src/platforms/stm32/usbdfu.h @@ -17,6 +17,9 @@ * along with this program. If not, see . */ +#ifndef __USBDFU_H +#define __USBDFU_H + #include /* Commands sent with wBlockNum == 0 as per ST implementation. */ @@ -44,3 +47,4 @@ void dfu_event(void); /* Platform specific function */ void dfu_detach(void); +#endif /* __USBDFU_H */