summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2016-01-27 10:07:31 -0800
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:25 -0500
commit897ffaeb2c821a20cf2df8c53958bc865009a7d1 (patch)
tree342a12365df641499c4f9fec61ccef33926cf0d1 /samples
parenta4ec9631380abf8ffdc4385e38dc386858df846a (diff)
irq: rename irq_connect() to IRQ_CONNECT()
It's not a function and requires all its arguments to be build-time constants. Make this more obvious to the end user to ease confusion. Change-Id: I64107cf4d9db9f0e853026ce78e477060570fe6f Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/microkernel/apps/nfc_hello/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/microkernel/apps/nfc_hello/src/main.c b/samples/microkernel/apps/nfc_hello/src/main.c
index 8dccfbeb6..18a3e4263 100644
--- a/samples/microkernel/apps/nfc_hello/src/main.c
+++ b/samples/microkernel/apps/nfc_hello/src/main.c
@@ -64,7 +64,7 @@ static void uart1_init(void)
{
uart1_dev = device_get_binding("UART_1");
- irq_connect(UART1_IRQ, UART1_IRQ_PRI, uart1_isr, 0, UART_IRQ_FLAGS);
+ IRQ_CONNECT(UART1_IRQ, UART1_IRQ_PRI, uart1_isr, 0, UART_IRQ_FLAGS);
irq_enable(UART1_IRQ);