nanohub: firmware: flush usart

Entering in sleep-mode freezes several clock in the device; if usart is
still transmitting, this will cause sending incorrect data.

Wait for usart to complete transmission.

Change-Id: Ide972e55b1e850d3310e935912697e9aa17a638c
Signed-off-by: Antonio Borneo <[email protected]>
3 files changed
tree: 81a6bc5c19ed2fa0596e7fdd02033fcffa101428
  1. contexthubhal/
  2. firmware/
  3. inc/
  4. lib/
  5. sensorhal/
  6. util/
  7. .gitignore