Git
Wiki
Site
projects
/
soft
/
lpc82x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
371122e
)
Return a more explicit error value
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 26 Sep 2016 16:11:51 +0000
(18:11 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Fri, 10 Feb 2023 18:02:59 +0000
(19:02 +0100)
drivers/gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio.c
b/drivers/gpio.c
index
0b3a8b2
..
1a10b4c
100644
(file)
--- a/
drivers/gpio.c
+++ b/
drivers/gpio.c
@@
-97,7
+97,7
@@
int set_gpio_callback(void (*callback) (uint32_t), const struct pio* gpio, uint8
}
/* If not found, return. */
if (irq == NB_PININT_INTERRUPTS) {
- return -
1
;
+ return -
ENODEV
;
}
/* Power on the Pin interrupt subsystem */
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !