refactor: convert simufatfs to C++17 (#6454)

This commit is contained in:
Raphael Coeffic
2025-07-27 10:41:52 +10:00
committed by GitHub
parent 94597ea255
commit 23e3730289
6 changed files with 468 additions and 494 deletions
+2 -4
View File
@@ -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;