sel4_async_block_io_fat/
dummy_time_source.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
//

pub use embedded_fat as fat;

#[derive(Default)]
pub struct DummyTimeSource(());

impl DummyTimeSource {
    pub fn new() -> Self {
        Self(())
    }
}

impl fat::TimeSource for DummyTimeSource {
    fn get_timestamp(&self) -> fat::Timestamp {
        unimplemented!()
    }
}