mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 09:30:58 +01:00
fusee: add special log level for sd card debug
This commit is contained in:
parent
96f3c0c387
commit
f7898f3519
@ -28,6 +28,7 @@ typedef enum {
|
||||
SCREEN_LOG_LEVEL_MANDATORY = 3, /* No log prefix. */
|
||||
SCREEN_LOG_LEVEL_INFO = 4,
|
||||
SCREEN_LOG_LEVEL_DEBUG = 5,
|
||||
SCREEN_LOG_LEVEL_SD_DEBUG = 6,
|
||||
|
||||
SCREEN_LOG_LEVEL_NO_PREFIX = 0x100 /* OR this to your LOG_LEVEL to prevent prefix creation. */
|
||||
} ScreenLogLevel;
|
||||
|
@ -86,7 +86,7 @@ void sdmmc_info(sdmmc_t *sdmmc, char *fmt, ...) {
|
||||
void sdmmc_debug(sdmmc_t *sdmmc, char *fmt, ...) {
|
||||
va_list list;
|
||||
va_start(list, fmt);
|
||||
sdmmc_print(sdmmc, SCREEN_LOG_LEVEL_DEBUG, fmt, list);
|
||||
sdmmc_print(sdmmc, SCREEN_LOG_LEVEL_SD_DEBUG, fmt, list);
|
||||
va_end(list);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user