dfu: newline after updating
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 5 Mar 2021 17:36:37 +0000 (18:36 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Nov 2021 17:36:56 +0000 (18:36 +0100)
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>
drivers/dfu/dfu.c

index ff1859d..af39759 100644 (file)
@@ -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;
 }