Skip to content

Commit b0d0fb2

Browse files
Updated for esp-idf v5.1
DavidAntliff#5
1 parent c9026dd commit b0d0fb2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(COMPONENT_ADD_INCLUDEDIRS include)
22
set(COMPONENT_SRCDIRS ".")
3+
set(COMPONENT_REQUIRES "driver")
34
set(COMPONENT_PRIV_REQUIRES "esp32-smbus")
45
register_component()
5-

i2c-lcd1602.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#include "freertos/task.h"
9494
#include "esp_system.h"
9595
#include "esp_log.h"
96+
#include "rom/ets_sys.h"
9697

9798
#include "i2c-lcd1602.h"
9899

@@ -624,4 +625,4 @@ esp_err_t i2c_lcd1602_XXX(i2c_lcd1602_info_t * i2c_lcd1602_info)
624625
}
625626
return err;
626627
}
627-
#endif
628+
#endif

0 commit comments

Comments
 (0)