now it compiles for no_std

This commit is contained in:
2022-12-30 23:09:58 +01:00
parent f109d59d56
commit 743a2c7611
11 changed files with 159 additions and 134 deletions

View File

@ -78,10 +78,10 @@ fn test_threaded_usage() {
.expect("Writing ECSS enum failed");
gen_event(Some(&params_array[0..e.raw_len()]))
}
ParamsHeapless::Store(_) => gen_event(None),
},
Params::Vec(vec) => gen_event(Some(vec.as_slice())),
Params::String(str) => gen_event(Some(str.as_bytes())),
Params::Store(_) => gen_event(None),
}
} else {
gen_event(None)