Using concatenation in macro is confusing as it does not work with variables. Use...
authorNathael Pajani <nathael.pajani@ed3l.fr>
Mon, 3 Mar 2014 21:58:31 +0000 (22:58 +0100)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:04 +0000 (17:03 +0100)
commit3ad250de3f334d09bbb827ea85dc688022eafa20
tree2a952961c955bc996ac19976a7f0bbb62300008d
parent5f4963eb194f50394589c10bf6b4cd070c7fdedf
Using concatenation in macro is confusing as it does not work with variables. Use a function instead. Adds some code, but not much. LPC_IO_FUNC_ALT() macro is still here for those who need small code.
drivers/gpio.c
include/drivers/gpio.h