File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ const struct time_entry time_entries[] = {
44
44
.name = "Duration " #unit " " #n, \
45
45
.units = UNIT_DUR_ ## unit, \
46
46
.uvalue = n, \
47
- .value = K_ ## unit(n) , \
47
+ .value = K_ ## unit(n), \
48
48
}
49
- // Test various values near typical clock boundaries.
49
+ /* Test various values near typical clock boundaries. */
50
50
DUR_TEST (MSEC , 1 ),
51
51
DUR_TEST (MSEC , 2 ),
52
52
DUR_TEST (MSEC , 99 ),
@@ -83,12 +83,14 @@ const struct time_entry time_entries[] = {
83
83
/* Return the indexed time entry. It is up to the Rust code to detect the null name, and handle it
84
84
* properly.
85
85
*/
86
- const struct time_entry * get_time_entry (uintptr_t index ) {
86
+ const struct time_entry * get_time_entry (uintptr_t index )
87
+ {
87
88
return & time_entries [index ];
88
89
}
89
90
90
91
/* The abs timeout is not constant, so provide this wrapper function.
91
92
*/
92
- const k_timeout_t ms_to_abs_timeout (int64_t ms ) {
93
+ const k_timeout_t ms_to_abs_timeout (int64_t ms )
94
+ {
93
95
return K_TIMEOUT_ABS_MS (ms );
94
96
}
You can’t perform that action at this time.
0 commit comments