diff --git a/arduboy-rust/src/library/eeprom.rs b/arduboy-rust/src/library/eeprom.rs index ae0d8e6..6c2d644 100644 --- a/arduboy-rust/src/library/eeprom.rs +++ b/arduboy-rust/src/library/eeprom.rs @@ -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) } }