uart: fix issue where a index is checked before set
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 29 Jun 2015 18:51:34 +0000 (19:51 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 29 Jun 2015 18:51:34 +0000 (19:51 +0100)
commitfd50ea087b658d68fdd61921b8302f9a7f10242a
tree1cbd62522f28f68930534920b10e6df99e28cf35
parent79d1acd17f89a3cecd6bd670eec69ec16b2b6f32
uart: fix issue where a index is checked before set

Related to #152

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
src/uart/uart.c