DataFlash: update examples for init simplification

This commit is contained in:
Peter Barker 2017-06-13 12:51:00 +10:00 committed by Francisco Ferreira
parent 91b62abfe5
commit 9fb4ac2143
2 changed files with 0 additions and 10 deletions

View File

@ -190,11 +190,6 @@ void DataFlashTest_AllTypes::setup(void)
hal.scheduler->delay(20);
dataflash.ShowDeviceInfo(hal.console);
if (dataflash.NeedPrep()) {
hal.console->printf("Preparing dataflash...\n");
dataflash.Prep();
}
Log_Write_TypeMessages();
Log_Write_TypeMessages_Log_Write();

View File

@ -50,11 +50,6 @@ void DataFlashTest::setup(void)
hal.scheduler->delay(20);
dataflash.ShowDeviceInfo(hal.console);
if (dataflash.NeedPrep()) {
hal.console->printf("Preparing dataflash...\n");
dataflash.Prep();
}
// We start to write some info (sequentialy) starting from page 1
// This is similar to what we will do...
dataflash.StartUnstartedLogging();