- Notifications
You must be signed in to change notification settings - Fork1k
Commitfe5a441
committed
Interrupts: remove C prototype and keep only C++ prototypes
attachInterrupt() C prototypes was not usable from C source file(inheritance of former pure C implementation), and causes ambiguitywhen used with lambda function as callbackFixes#1601Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>1 parentb192e50 commitfe5a441
2 files changed
+4
-11
lines changedLines changed: 3 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 25 | + | |
| 26 | + | |
34 | 27 |
| |
35 | 28 |
| |
36 | 29 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
| |||
47 | 46 |
| |
48 | 47 |
| |
49 | 48 |
| |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
0 commit comments
Comments
(0)