sim: erc32: fix a few more build warnings
authorMike Frysinger <vapier@gentoo.org>
Sun, 31 Oct 2021 08:17:28 +0000 (04:17 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Oct 2021 08:18:58 +0000 (04:18 -0400)
commit5b3c2b9f3be1df7304302e3e73bea42e06be43a6
tree09e3b0bfc092643aa3596a15bd0602242ad55330
parent4ab6404b1c5798155640edf4bb207c8d1de37b5d
sim: erc32: fix a few more build warnings

Tweak the if indentation & brace style to avoid ambiguous warnings.

Add ATTRIBUTE_UNUSED to UART functions that aren't used when FAST_UART
is defined (which is the default).
sim/erc32/erc32.c