- Notifications
You must be signed in to change notification settings - Fork1k
Commitea9a82e
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 commitea9a82e
2 files changed
+5
-12
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: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
46 | 45 |
| |
47 |
| - | |
| 46 | + | |
48 | 47 |
| |
| 48 | + | |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
|
0 commit comments
Comments
(0)