diff --git a/.gitmodules b/.gitmodules index e9cc936..525c5af 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "boards"] path = boards url = https://github.com/rzeldent/platformio-espressif32-sunton.git + branch = feature/iodefs diff --git a/boards b/boards index 03a28ef..818309e 160000 --- a/boards +++ b/boards @@ -1 +1 @@ -Subproject commit 03a28efc97b4c631bdb854a8d6634d9b2da84052 +Subproject commit 818309e7dd741ece46cc99631a1e9537bb017fff diff --git a/src/main.cpp b/src/main.cpp index 9ccd1a4..d01772b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,7 +76,7 @@ void loop() #endif #ifdef BOARD_HAS_CDS - auto cdr = analogReadMilliVolts(CDS_GPIO); + auto cdr = analogReadMilliVolts(CDS); sprintf(text_buffer, "%d", cdr); lv_label_set_text(ui_lblCdrValue, text_buffer); #endif