BUGFIX: increase value instead of pointer

This commit is contained in:
Robin Dietzel 2023-01-13 11:28:18 +01:00
parent ddd2b405c9
commit 03a4180c9c

View File

@ -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() {