Commit af8520a
committed
Move software timer defs to lib-superloop
Consolidate software-timer definitions into lib-superloop: remove lib-hal/include/softwaretimers.h, add kSoftwareTimersMax and kTimerIdNone to lib-superloop/include/superloop/softwaretimers.h, and update function declarations. Adjust lib-superloop/src/softwaretimers.cpp to use kSoftwareTimersMax (and drop the hal:: namespace) for the timer pool and bounds check. Also update common/make/gd32/Includes.mk to include the lib-superloop/superloop header path.1 parent b52b763 commit af8520a
4 files changed
Lines changed: 12 additions & 79 deletions
File tree
- common/make/gd32
- lib-hal/include
- lib-superloop
- include/superloop
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments