Files
OpenCellular/chip
Vincent Palatin 5d8e326da3 stm32l: avoid spurious USART interrupts
The TX empty interrupt needs an actual write to DR to be cleared.
So, we de-activate it before filling the TX buffer to ensure the
interrupt won't fire after the last write.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=run EC console along with a lower priority task on Discovery board,
and check the task is scheduled as expected.

Change-Id: I56c33c6dd7ccfd238fd9d5910780d12945467010
2012-02-01 20:21:01 +00:00
..
2012-01-30 16:11:44 -08:00