flash/nor/rp2040: remove new line from error message

Change-Id: Idf3bce842b4507c1f12692b5fbcd6730637de9db
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7216
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Jonathan Bell <jonathan@raspberrypi.com>
Tested-by: jenkins
This commit is contained in:
Tomas Vanek 2022-09-21 07:49:00 +02:00
parent 3fdd3249b5
commit ae937791d3
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ static int rp2040_call_rom_func(struct target *target, struct rp2040_flash_bank
for (unsigned int i = 0; i < n_args + 2; ++i) for (unsigned int i = 0; i < n_args + 2; ++i)
destroy_reg_param(&args[i]); destroy_reg_param(&args[i]);
if (err != ERROR_OK) if (err != ERROR_OK)
LOG_ERROR("Failed to invoke ROM function @0x%" PRIx16 "\n", func_offset); LOG_ERROR("Failed to invoke ROM function @0x%" PRIx16, func_offset);
return err; return err;
} }