game counter reset

This commit is contained in:
2024-05-21 14:21:35 +02:00
parent 2827046b8b
commit 9a0e3be4fe
3 changed files with 26 additions and 2 deletions

View File

@ -137,9 +137,17 @@ void eepromSetAmplitude(uint8_t v) {
buf.v.amplitude = v;
}
uint16_t eepromReadGameCounter() {
return buf.v.gameCounter;
}
void eepromIncGameCounter() {
buf.v.gameCounter += 1;
writeBuf();
}
void eepromClearGameCounter() {
buf.v.gameCounter = 0;
}