Play a configured file when rfid-tag is placed on the reader.

This commit is contained in:
Simon Weidacher committed 2021-12-26 14:05:03 +01:00
1 parent dffa2e6205
commit 5007de4456
8 files changed
+84 -9

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ void WebInterface::initSD() {
esp_periph_set_handle_t set = esp_periph_set_init(&periph_cfg);
// Initialize SD Card peripheral
if (audio_board_sdcard_init(set, SD_MODE_4_LINE) == ESP_FAIL) {
if (audio_board_sdcard_init(set, SD_MODE_1_LINE) == ESP_FAIL) {
ESP_LOGE(TAG, "Sdcard not mounted");
} else {
ESP_LOGI(TAG, "SDCard mounted");