mappings: add a map for albus the tree
This commit is contained in:
@ -169,6 +169,12 @@ impl<const STRIDE_NUM: usize> StrideMapping<STRIDE_NUM> {
|
||||
])
|
||||
}
|
||||
|
||||
pub fn new_albus() -> Self {
|
||||
Self::from_json(&[
|
||||
(0, 0, 50 * 3, false)
|
||||
])
|
||||
}
|
||||
|
||||
pub fn from_json(stride_json: &[(u8, u8, u8, bool)]) -> Self {
|
||||
let mut strides = [Stride::default(); STRIDE_NUM];
|
||||
let stride_count = stride_json.len();
|
||||
|
Reference in New Issue
Block a user