Move DEVICE_FLASH define to avoid compilation issues for non FLASH devices

pull/4854/head
adustm 2017-08-04 10:09:27 +02:00
parent 44c8d16243
commit 9d0e9dd8de
1 changed files with 1 additions and 1 deletions

View File

@ -28,13 +28,13 @@
*******************************************************************************
*/
#if DEVICE_FLASH
#include "flash_api.h"
#include "flash_data.h"
#include "platform/mbed_critical.h"
// This file is automatically generated
#if DEVICE_FLASH
static uint32_t GetSector(uint32_t Address);
static uint32_t GetSectorSize(uint32_t Sector);