diff options
Diffstat (limited to 'src/flash/flash.c')
-rw-r--r-- | src/flash/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index da43e1a..f3f0086 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -728,7 +728,7 @@ COMMAND_HANDLER(handle_flash_fill_command) if (count == 0) return ERROR_OK; - switch (cmd[4]) + switch (CMD_NAME[4]) { case 'w': wordsize = 4; |