[ion/device] Clean the external flash init code

This commit is contained in:
Romain Goyet
2018-11-20 15:25:23 +01:00
parent a89115d6fd
commit 2270ebc1f3
4 changed files with 166 additions and 177 deletions

View File

@@ -15,6 +15,7 @@ extern "C" {
#include "usb.h"
#include "bench/bench.h"
#include "base64.h"
#include "external_flash.h"
#define USE_SD_CARD 0
@@ -187,6 +188,7 @@ void initPeripherals() {
Console::Device::init();
SWD::Device::init();
initSysTick();
ExternalFlash::Device::init();
}
void shutdownPeripherals(bool keepLEDAwake) {