main/task_sdcard.c

changeset 4
6d1f512cd074
parent 1
ad2c8b13eb88
child 6
e84200edc852
equal deleted inserted replaced
3:2dcdf83248c8 4:6d1f512cd074
1 /** 1 /**
2 * @file task_sdcard.c 2 * @file task_sdcard.c
3 * @brief SD/MMC driver. This driver is for a slot for the user on 3 * @brief SD/MMC driver. This driver is for a slot for the user on
4 * the front panel. It will detect an inserted card and then 4 * the front panel. It will detect an inserted card and then
5 * mount it. But, it cannot detect the removal of a card!! 5 * mount it. It also detects the removal of the card and then
6 * unmounts it. Be carefull, only do this in the main menu.
6 * Also, brew logging is handled here and finished brewlogs 7 * Also, brew logging is handled here and finished brewlogs
7 * are copied to the SD card if it is mounted. 8 * are copied to the SD card if it is mounted.
8 * Recipes to import must go into the /sdcard/recipe folder 9 * Recipes to import must go into the /sdcard/recipe folder
9 * and have extension .xml and the contents be a beerxml file. 10 * and have extension .xml and the contents be a beerxml file.
11 * Backup and restore is also done to this card.
10 */ 12 */
11 13
12 14
13 #include "vfs_fat_internal.h" 15 #include "vfs_fat_internal.h"
14 #include "driver/sdmmc_host.h" 16 #include "driver/sdmmc_host.h"

mercurial