aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stm32/dfu_f4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/stm32/dfu_f4.c')
-rw-r--r--src/platforms/stm32/dfu_f4.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/platforms/stm32/dfu_f4.c b/src/platforms/stm32/dfu_f4.c
index 1065938..2ececa0 100644
--- a/src/platforms/stm32/dfu_f4.c
+++ b/src/platforms/stm32/dfu_f4.c
@@ -16,8 +16,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#include "platform.h"
+#include "general.h"
+#include "usbdfu.h"
#if defined(STM32F2)
# include <libopencm3/stm32/f2/flash.h>
@@ -26,8 +26,6 @@
#endif
#include <libopencm3/cm3/scb.h>
-#include "usbdfu.h"
-
static uint32_t sector_addr[] = {
0x8000000, 0x8004000, 0x8008000, 0x800c000,
0x8010000, 0x8020000, 0x8040000, 0x8060000,