mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-13 01:40:09 +00:00
🐛 Fix large edit value to encoder conversion (#25812)
This commit is contained in:
parent
e89e67fde0
commit
40aa398285
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue