summaryrefslogtreecommitdiff
path: root/src/drivers/spi/spi_sdcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/spi_sdcard.c')
-rw-r--r--src/drivers/spi/spi_sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/spi_sdcard.c b/src/drivers/spi/spi_sdcard.c
index 0a18953395..e930b50b13 100644
--- a/src/drivers/spi/spi_sdcard.c
+++ b/src/drivers/spi/spi_sdcard.c
@@ -210,7 +210,7 @@ static int lookup_response_length(int response_type)
static int response_resolve(int response_type, uint8_t *response,
uint32_t *out_register)
{
- __unused static const char * const sd_err[] = {
+ __maybe_unused static const char * const sd_err[] = {
"Card is locked",
"wp erase skip | lock/unlok cmd failed",
"error",