diff target-utils/libcommon/abbdrv.c @ 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 e60aecf23970
children
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);
 }