blob: f50ac7ac3f8d57a1d8056719ebda6f4d77d46a13 (
plain) (
tree)
|
|
use bedrock_core::*;
pub struct RemoteDevice {
}
impl RemoteDevice {
pub fn new() -> Self {
Self {
}
}
}
impl Device for RemoteDevice {
fn read(&mut self, _port: u8) -> u8 {
todo!()
// match port {
// _ => unreachable!(),
// }
}
fn write(&mut self, _port: u8, _value: u8) -> Option<Signal> {
todo!()
// match port {
// _ => unreachable!(),
// };
// return None;
}
fn wake(&mut self) -> bool {
false
}
}
|