diff --git a/Middlewares/floatpump/Src/Menu_Entry_Type_Numeric.cpp b/Middlewares/floatpump/Src/Menu_Entry_Type_Numeric.cpp index 29b0834..d6b6451 100644 --- a/Middlewares/floatpump/Src/Menu_Entry_Type_Numeric.cpp +++ b/Middlewares/floatpump/Src/Menu_Entry_Type_Numeric.cpp @@ -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() {