mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
DataFlash: update examples for init simplification
This commit is contained in:
parent
91b62abfe5
commit
9fb4ac2143
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user