Updated EEPROMBYTECHECKLESS documentation
This commit is contained in:
parent
c3acb2455a
commit
4a85696f19
1 changed files with 2 additions and 2 deletions
|
@ -139,6 +139,8 @@ impl EEPROMBYTE {
|
|||
}
|
||||
}
|
||||
|
||||
///Use this struct to store and read single bytes to/from eeprom memory without using a check digit.
|
||||
///Unlike the other eeprom structs, this does not need to be initialised.
|
||||
pub struct EEPROMBYTECHECKLESS {
|
||||
idx: i16,
|
||||
}
|
||||
|
@ -151,8 +153,6 @@ impl EEPROMBYTECHECKLESS {
|
|||
idx: EEPROM_STORAGE_SPACE_START + idx,
|
||||
}
|
||||
}
|
||||
pub fn init(&self) {
|
||||
}
|
||||
pub fn read(&self) -> u8 {
|
||||
unsafe { arduboy_eeprom_read_raw(self.idx) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue