BUGFIX: increase value instead of pointer
This commit is contained in:
parent
ddd2b405c9
commit
03a4180c9c
@ -24,11 +24,11 @@ namespace floatpump {
|
||||
}
|
||||
|
||||
void Menu_Entry_Type_Numeric::u_increase(uint16_t steps) {
|
||||
m_value++;
|
||||
(*m_value)++;
|
||||
}
|
||||
|
||||
void Menu_Entry_Type_Numeric::u_decrease(uint16_t steps) {
|
||||
m_value--;
|
||||
(*m_value)--;
|
||||
}
|
||||
|
||||
bool Menu_Entry_Type_Numeric::isEntered() {
|
||||
|
Loading…
Reference in New Issue
Block a user