mirror of
https://github.com/sweidac/kidsbox.git
synced 2026-10-28 06:52:57 +01:00
Play a configured file when rfid-tag is placed on the reader.
This commit is contained in:
1 parent
dffa2e6205
commit
5007de4456
8 files changed
+84
-9
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user