fixup for idf 5.0

This commit is contained in:
Eric Poulsen 2023-03-20 16:45:30 -07:00
parent 9fed1cc47b
commit 2440b9b434
16 changed files with 82 additions and 82 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);