Workaround unused-but-set-variable warning.
authorDan White <dan@whiteaudio.com>
Sun, 1 Feb 2015 19:27:55 +0000 (13:27 -0600)
committerDan White <dan@whiteaudio.com>
Sun, 1 Feb 2015 19:27:55 +0000 (13:27 -0600)
commitd8af276be32af24f2797ba121d958cfd7156c1d4
treedfb2bfd0f91a462b2253263251da1e5a29278263
parentb298bf7678727adec79dce41c8aec4f4be6d3c07
Workaround unused-but-set-variable warning.

The UART status register must be read to clear the flags and enable operation.
Previously, it was read into a dummy variable which triggered the warning.
Attempts to suppress the warning didn't work for some reason, but the
statement "UART0_SR;" is sufficient to emit assembly to read the register.

I don't trust this to always work, so there is a comment with the purpose
of the line.
msp4th/main.c