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);
|
/// static e: EEPROM = EEPROM::new(10);
|
||||||
/// struct Scorebord {
|
/// struct Scorebord {
|
||||||
/// player1: u16,
|
/// player1: u16,
|
||||||
/// text: &'static str,
|
/// text: &'static str,
|
||||||
/// }
|
/// }
|
||||||
/// static mut s: Scorebord = Scorebord {
|
/// static mut s: Scorebord = Scorebord {
|
||||||
/// player1: 0,
|
/// player1: 0,
|
||||||
/// text: "lol\0",
|
/// text: "lol\0",
|
||||||
/// };
|
/// };
|
||||||
///
|
///
|
||||||
/// // init inside of the setup function
|
/// // init inside of the setup function
|
||||||
/// e.init(&mut s);
|
/// e.init(&mut s);
|
||||||
/// }
|
|
||||||
/// ```
|
/// ```
|
||||||
pub struct EEPROM {
|
pub struct EEPROM {
|
||||||
start_c1: i16,
|
start_c1: i16,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue