]> git.droids-corp.org - aversive.git/commit
libc-compat: avoid using poisoned macro
authorGregor Riepl <onitake@gmail.com>
Mon, 15 Dec 2014 02:27:27 +0000 (03:27 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sun, 25 Jan 2015 21:15:30 +0000 (22:15 +0100)
commit0c1213d8f51ac18ea8d42d9018e9ffe2f9bf24c2
tree4bf91391f45d3df0c9c112ed9a8da1d2f249cf29
parent658496af89393f0de090f10ebe773d00a49a5f9d
libc-compat: avoid using poisoned macro

Old-style avr-libc macros are poisoned and should not be used with
recent device headers. In uart and adc modules, use the most recent
macros names if they are available. This fixes the compilation with
recent devices.

Signed-off-by: Gregor Riepl <onitake@gmail.com>
modules/comm/uart/uart.c
modules/hardware/adc/adc.c