🐛 Fix large edit value to encoder conversion (#25812)

This commit is contained in:
ellensp
2023-05-14 09:43:57 +12:00
committed by GitHub
parent e89e67fde0
commit 40aa398285
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ void MenuEditItemBase::goto_edit_screen(
void * const ev, // Edit value pointer
const int32_t minv, // Encoder minimum
const int32_t maxv, // Encoder maximum
const uint16_t ep, // Initial encoder value
const uint32_t ep, // Initial encoder value
const screenFunc_t cs, // MenuItem_type::draw_edit_screen => MenuEditItemBase::edit()
const screenFunc_t cb, // Callback after edit
const bool le // Flag to call cb() during editing

View File

@@ -168,7 +168,7 @@ class MenuEditItemBase : public MenuItemBase {
void * const ev, // Edit value pointer
const int32_t minv, // Encoder minimum
const int32_t maxv, // Encoder maximum
const uint16_t ep, // Initial encoder value
const uint32_t ep, // Initial encoder value
const screenFunc_t cs, // MenuItem_type::draw_edit_screen => MenuEditItemBase::edit()
const screenFunc_t cb, // Callback after edit
const bool le // Flag to call cb() during editing