summaryrefslogtreecommitdiff
path: root/avr/cmd_fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/cmd_fat.c')
-rw-r--r--avr/cmd_fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/cmd_fat.c b/avr/cmd_fat.c
index 26362b2..6ffbb79 100644
--- a/avr/cmd_fat.c
+++ b/avr/cmd_fat.c
@@ -339,7 +339,7 @@ command_ret_t do_fat_rw(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[
unsigned long bytes_rw;
bool dowrite = (argv[0][3] == 'w');
- FRESULT res;
+ FRESULT res = FR_OK;
bool buserr = 0;
uint32_t timer;
uint8_t *buffer;