fixes for idf 5.x

This commit is contained in:
hiruna 2023-05-26 22:25:42 +10:00
parent bc57b32d87
commit f8b0f34a59
18 changed files with 84 additions and 83 deletions

View file

@ -63,7 +63,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(10 / portTICK_PERIOD_MS);
// Reset the SPI configuration, making sure auto-increment is set
u8 = read_8bit_reg(STMPE_SPI_CFG);