diff options
Diffstat (limited to 'src/flash/nor/lpc288x.c')
-rw-r--r-- | src/flash/nor/lpc288x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/nor/lpc288x.c b/src/flash/nor/lpc288x.c index 589527f..d5fde94 100644 --- a/src/flash/nor/lpc288x.c +++ b/src/flash/nor/lpc288x.c @@ -184,8 +184,7 @@ FLASH_BANK_COMMAND_HANDLER(lpc288x_flash_bank_command) if (CMD_ARGC < 6) { - LOG_WARNING("incomplete flash_bank LPC288x configuration"); - return ERROR_FLASH_BANK_INVALID; + return ERROR_COMMAND_SYNTAX_ERROR; } lpc288x_info = malloc(sizeof(struct lpc288x_flash_bank)); |