update dr.boy
This commit is contained in:
parent
7e9d189d98
commit
85dde9ebef
3 changed files with 239 additions and 236 deletions
|
@ -33,7 +33,7 @@ impl Scoreboard {
|
|||
_ => 0,
|
||||
}
|
||||
}
|
||||
pub fn update_score(&mut self, score: u16) {
|
||||
pub fn update_score(&mut self, score: u16, e: &EEPROM) {
|
||||
let place = self.check_score(score);
|
||||
match place {
|
||||
1 => {
|
||||
|
@ -50,6 +50,7 @@ impl Scoreboard {
|
|||
}
|
||||
_ => (),
|
||||
}
|
||||
e.put(self)
|
||||
}
|
||||
}
|
||||
// dynamic ram variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue