60#define PRINT_ERR_LINE(e) printf("%s line %d: %s\n", __FILE__, __LINE__, get_error_str(e))
const char * get_error_str(mmc_err e)
Get the corresponding string for an error code.
Definition mmc_error.c:43
mmc_err
Definition mmc_error.h:36
@ MMC_TIMEOUT_ERR
Definition mmc_error.h:41
@ MMC_RESOURCE_ERR
Definition mmc_error.h:42
@ MMC_UNKNOWN_ERR
Definition mmc_error.h:43
@ MMC_OK
Definition mmc_error.h:37
@ MMC_OOM_ERR
Definition mmc_error.h:38
@ MMC_IO_ERR
Definition mmc_error.h:39
@ MMC_INVALID_ARG_ERR
Definition mmc_error.h:40