aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2021-03-05 18:36:37 +0100
committerHeinrich Schuchardt2021-11-07 18:36:56 +0100
commitf8d7e6e941321e40c4afa39635116ca4144c4f29 (patch)
tree5742b9a5d71cafcdc7a20c6c618122b8b82adc59
parent34f2577e926da818b95837a742323874ece5245f (diff)
dfu: newline after updating
Currently output of dfu commands ends on a line with leading hash signs ('#'). The succeeding output should be placed on a new line. After writing updates via dfu print a new line. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--drivers/dfu/dfu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index ff1859d9463..af3975925a9 100644
--- a/drivers/dfu/dfu.c
+++ b/drivers/dfu/dfu.c
@@ -735,6 +735,7 @@ int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size)
ret = dfu_flush(dfu, NULL, 0, i);
if (ret)
pr_err("DFU flush failed!");
+ puts("\n");
return ret;
}