Skip to content

Commit 87ecedf

Browse files
butoknashif
authored andcommitted
doc: interrupts: fix Direct ISR code example
- Fixes Direct ISR code example. - Deletes the wrong comment, which was likely copy-pasted from the previous ISR code example. Signed-off-by: Andrej Butok <[email protected]>
1 parent 02f85b2 commit 87ecedf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/kernel/services/interrupts.rst

-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ The following code demonstrates a direct ISR:
336336
337337
#define MY_DEV_IRQ 24 /* device uses IRQ 24 */
338338
#define MY_DEV_PRIO 2 /* device uses interrupt priority 2 */
339-
/* argument passed to my_isr(), in this case a pointer to the device */
340339
#define MY_IRQ_FLAGS 0 /* IRQ flags */
341340
342341
ISR_DIRECT_DECLARE(my_isr)

0 commit comments

Comments
 (0)