Fix SoftAP boot abort: stop DHCP before setting static AP IP; drop RC522 SPI clock to 1 MHz; order RFID before display init

This commit is contained in:
2026-09-10 07:01:57 +02:00
parent aff5d1477f
commit 05d8012c8b
3 changed files with 18 additions and 8 deletions

View File

@@ -22,9 +22,9 @@ static const char *TAG = "rfid";
#define RC522_TASK_PRIORITY (4)
/* Conservative clock for MFRC522 clones. If the FIFO self-test still
* reports a mismatch at boot, lower this further (e.g. 1000000) or check
* reports a mismatch error, lower further (e.g. 1000000) or check
* power/wiring. Many clone readers glitch at 4MHz on a shared bus. */
#define RC522_SPI_CLK_HZ (2000000)
#define RC522_SPI_CLK_HZ (1000000)
#define RC522_START_ATTEMPTS (3)
static rc522_driver_handle_t s_driver;