refactor: convert simufatfs to C++17 (#6454)
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <unistd.h>
|
||||
#include <memory>
|
||||
#include "gtests.h"
|
||||
#include "hal/adc_driver.h"
|
||||
#include "location.h"
|
||||
|
||||
using ::testing::TestEventListener;
|
||||
using ::testing::EmptyTestEventListener;
|
||||
@@ -141,12 +141,10 @@ const char * nchar2string(const char * string, int size)
|
||||
return _stringResult;
|
||||
}
|
||||
|
||||
extern const etx_hal_adc_driver_t simu_adc_driver;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
simuInit();
|
||||
adcInit(&simu_adc_driver);
|
||||
simuFatfsSetPaths(TESTS_PATH, nullptr);
|
||||
|
||||
#if !defined(COLORLCD)
|
||||
menuLevel = 0;
|
||||
|
||||
Reference in New Issue
Block a user