diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index cb1a3c1a8f..8d5057bd89 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c @@ -22,8 +22,10 @@ #include #include #include +#ifdef DISK_WRITE #include #include +#endif #include #include "fat.h" #include "ata.h"