changeset 394:6661e5bc0712

target-utils: flush serial output before Iota poweroff
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 17:32:51 +0000
parents d7591faa1258
children 8891c3d0c68a
files target-utils/libcommon/abbdrv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/libcommon/abbdrv.c	Wed Jun 11 17:22:55 2014 +0000
+++ b/target-utils/libcommon/abbdrv.c	Wed Jun 11 17:32:51 2014 +0000
@@ -97,5 +97,6 @@
 abb_power_off()
 {
 	abb_init();
+	serial_flush();
 	abb_reg_write(VRPCDEV, 0x01);
 }