forked from ROMEO/obsw
test
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
|
// test comment
|
||||||
//TODO look into using core::ffi (some types do not seem to work)
|
//TODO look into using core::ffi (some types do not seem to work)
|
||||||
//TODO os errors in API calls
|
//TODO os errors in API calls
|
||||||
//TODO look into a pattern for late initialized stuff, currently using Option (can we make it compile time safe?)
|
//TODO look into a pattern for late initialized stuff, currently using Option (can we make it compile time safe?)
|
||||||
@ -376,7 +376,13 @@ fn mission() {
|
|||||||
|
|
||||||
let _i = 1;
|
let _i = 1;
|
||||||
|
|
||||||
sifln!("sizeof {}, pointer struct {:p}, pointer element {:p}, next element{:p}", size_of::<PeriodicTask>(), &t2, t2.task_objects, &_i);
|
sifln!(
|
||||||
|
"sizeof {}, pointer struct {:p}, pointer element {:p}, next element{:p}",
|
||||||
|
size_of::<PeriodicTask>(),
|
||||||
|
&t2,
|
||||||
|
t2.task_objects,
|
||||||
|
&_i
|
||||||
|
);
|
||||||
|
|
||||||
let mut task_executor = TaskExecutor {
|
let mut task_executor = TaskExecutor {
|
||||||
tasks: &mut [&mut t1, &mut t2],
|
tasks: &mut [&mut t1, &mut t2],
|
||||||
|
Reference in New Issue
Block a user