mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-09-29 22:46:22 -04:00
Copy size of the actual object
This commit is contained in:
parent
bc1e546ece
commit
6dacc470a2
@ -74,7 +74,7 @@ void mainMenuTune(int16_t knob)
|
||||
current_freq = new_freq;
|
||||
|
||||
Button button;
|
||||
memcpy_P(&button, &(mainMenuButtons[0]), sizeof(Button));
|
||||
memcpy_P(&button, &(mainMenuButtons[0]), sizeof(button));
|
||||
displayText(button.text, button.x, button.y, button.w, button.h, COLOR_INACTIVE_TEXT, COLOR_INACTIVE_BACKGROUND, COLOR_INACTIVE_BORDER);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user