Update to support ESP-IDF v5 in develop branch (#186)
* Update to support ESP-IDF v5 in develop branch * Remove the need for rom includes while providing IDF v5 compatibility * Fix missing '(' typo * Remove unnecessarily addded rom header files * Add missing version include * Fix another forgotten ')'
This commit is contained in:
parent
bd8a7e3edd
commit
8d9f6e2548
15 changed files with 77 additions and 47 deletions
|
@ -60,7 +60,7 @@ void stmpe610_init(void)
|
|||
|
||||
// Attempt a software reset
|
||||
write_8bit_reg(STMPE_SYS_CTRL1, STMPE_SYS_CTRL1_RESET);
|
||||
vTaskDelay(10 / portTICK_RATE_MS);
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
|
||||
// Reset the SPI configuration, making sure auto-increment is set
|
||||
u8 = read_8bit_reg(STMPE_SPI_CFG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue