File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ env :
10
+ BUILD_TYPE : Release
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ env :
18
+ BUILD_TYPE : Debug
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+
23
+ - name : Create build directory
24
+ run : mkdir build
25
+
26
+ - name : Configure CMake
27
+ run : cmake -B ${{github.workspace}}/build
28
+
29
+ - name : Build
30
+ run : cmake --build ${{github.workspace}}/build
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void thread_work(int id)
40
40
41
41
if (remaining_time < WATCHDOG_TIMEOUT )
42
42
{
43
- if (SCHEDULER_OK == flexitimer_delay (id , WATCHDOG_TIMEOUT ))
43
+ if (FLEXITIMER_OK == flexitimer_delay (id , WATCHDOG_TIMEOUT ))
44
44
{
45
45
printf ("Delayed thread %d.\n" , id );
46
46
}
You can’t perform that action at this time.
0 commit comments