laststation_variable_overflow

This commit is contained in:
e2002
2022-12-01 12:27:26 +03:00
parent f9de820e51
commit e7b4b93d8c
2 changed files with 4 additions and 4 deletions

View File

@@ -206,13 +206,13 @@ void Config::setBalance(int8_t balance) {
save();
}
byte Config::setLastStation(byte val) {
byte Config::setLastStation(uint16_t val) {
store.lastStation = val;
save();
return store.lastStation;
}
byte Config::setCountStation(byte val) {
byte Config::setCountStation(uint16_t val) {
store.countStation = val;
save();
return store.countStation;