Update docs
This commit is contained in:
parent
0721c6cc45
commit
2111e26566
1 changed files with 5 additions and 6 deletions
|
@ -19,17 +19,16 @@ extern "C" {
|
|||
/// ```
|
||||
/// static e: EEPROM = EEPROM::new(10);
|
||||
/// struct Scorebord {
|
||||
/// player1: u16,
|
||||
/// text: &'static str,
|
||||
/// player1: u16,
|
||||
/// text: &'static str,
|
||||
/// }
|
||||
/// static mut s: Scorebord = Scorebord {
|
||||
/// player1: 0,
|
||||
/// text: "lol\0",
|
||||
/// player1: 0,
|
||||
/// text: "lol\0",
|
||||
/// };
|
||||
///
|
||||
/// // init inside of the setup function
|
||||
/// e.init(&mut s);
|
||||
/// }
|
||||
/// e.init(&mut s);
|
||||
/// ```
|
||||
pub struct EEPROM {
|
||||
start_c1: i16,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue