various bug fixes
This commit is contained in:
@@ -20,9 +20,9 @@ void app_main(void)
|
||||
ESP_ERROR_CHECK(spi_bus_manager_init());
|
||||
ESP_ERROR_CHECK(storage_manager_init());
|
||||
|
||||
/* RFID comes BEFORE the display: the reader lives on its own SPI3 bus now
|
||||
/* RFID comes BEFORE the display: the reader lives on its own SPI3 bus
|
||||
* (display owns SPI2), but initializing it before the panel's init traffic
|
||||
* still gives the self-test the quietest possible bus timing. */
|
||||
* gives the startup the quietest possible bus timing. */
|
||||
esp_err_t ret = rfid_manager_init();
|
||||
if (ret != ESP_OK || rfid_manager_start() != ESP_OK) {
|
||||
ESP_LOGW(TAG, "RFID unavailable (%s) - continuing without card scanning", esp_err_to_name(ret));
|
||||
|
||||
Reference in New Issue
Block a user