This commit is contained in:
daniel.philipp
2023-12-01 15:30:53 +01:00
parent 55d0e6a90b
commit 2b59a6b988

View File

@ -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],