Skip to content

Commit 7a94dce

Browse files
committed
Availabe frames and use legacy driver even in IDF 5.4
1 parent 59f1d08 commit 7a94dce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ if(IDF_TARGET STREQUAL "esp32" OR IDF_TARGET STREQUAL "esp32s2" OR IDF_TARGET ST
8686
# this uses either the legacy I2C API or the newwer version from IDF v5.4
8787
# as this features a method to obtain the I2C driver from a port number
8888
if (idf_version VERSION_GREATER_EQUAL "5.4")
89-
list(APPEND srcs driver/sccb-ng.c)
89+
list(APPEND srcs driver/sccb.c)
9090
else()
9191
list(APPEND srcs driver/sccb.c)
9292
endif()

0 commit comments

Comments
 (0)