comparison 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
comparison
equal deleted inserted replaced
393:d7591faa1258 394:6661e5bc0712
95 95
96 void 96 void
97 abb_power_off() 97 abb_power_off()
98 { 98 {
99 abb_init(); 99 abb_init();
100 serial_flush();
100 abb_reg_write(VRPCDEV, 0x01); 101 abb_reg_write(VRPCDEV, 0x01);
101 } 102 }