diff --git a/main/drivers/CMakeLists.txt b/main/drivers/CMakeLists.txt index c734a66..bf4a6ca 100644 --- a/main/drivers/CMakeLists.txt +++ b/main/drivers/CMakeLists.txt @@ -11,6 +11,7 @@ set(SOURCES "i2c_lcd_pcf8574.c" "i2c.cpp" "leds.cpp" + "nvs.cpp" "perh.cpp" "power.cpp" "sd.cpp" diff --git a/main/drivers/nvs.cpp b/main/drivers/nvs.cpp new file mode 100644 index 0000000..bb36ce9 --- /dev/null +++ b/main/drivers/nvs.cpp @@ -0,0 +1,3 @@ +#include "nvs.h" + + diff --git a/main/drivers/nvs.h b/main/drivers/nvs.h new file mode 100644 index 0000000..06f96e5 --- /dev/null +++ b/main/drivers/nvs.h @@ -0,0 +1,6 @@ +#ifndef NVS_H +#define NVS_H + + + +#endif /* NVS_H */ \ No newline at end of file diff --git a/main/steps/step0.cpp b/main/steps/step0.cpp index 17c438f..fe2b218 100644 --- a/main/steps/step0.cpp +++ b/main/steps/step0.cpp @@ -34,6 +34,9 @@ static void battery_stats() { vTaskDelete(xHandle); } } +static void hardware_config() { + +} // TODO: remove. This is temperary static void replay_last() { @@ -64,10 +67,17 @@ void step0() { .callback = nullptr, .triggered_sem = continue_sem, }, + { + .code = "59860", + .display_text = "Hardware Config", + .delay_us = 2'000'000, + .callback = hardware_config + .triggered_sem = nullptr, + }, { .code = "59861", .display_text = "Setup Wires", - .delay_us = 10'000'000, + .delay_us = 2'000'000, .callback = setup_wires, .triggered_sem = nullptr, },