mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 02:55:49 +00:00
Update stmlib, remove return value from UI::DoEvents
This commit is contained in:
parent
433ff597ab
commit
6e04536dd8
4 changed files with 10 additions and 14 deletions
|
@ -46,7 +46,5 @@ PACKAGES = midi2cv \
|
||||||
stmlib/system
|
stmlib/system
|
||||||
RESOURCES = midi2cv/resources
|
RESOURCES = midi2cv/resources
|
||||||
|
|
||||||
TOOLCHAIN_PATH ?= /usr/local/arm-4.8.3/
|
|
||||||
|
|
||||||
include stmlib/makefile.inc
|
include stmlib/makefile.inc
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ void UI::Flush()
|
||||||
display.Flush();
|
display.Flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool UI::DoEvents()
|
void UI::DoEvents()
|
||||||
{
|
{
|
||||||
bool refresh_display = false;
|
bool refresh_display = false;
|
||||||
while (input_queue.available()) {
|
while (input_queue.available()) {
|
||||||
|
@ -84,8 +84,6 @@ bool UI::DoEvents()
|
||||||
input_queue.Touch();
|
input_queue.Touch();
|
||||||
Draw();
|
Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
return refresh_display;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UI::OnClick()
|
void UI::OnClick()
|
||||||
|
|
|
@ -20,7 +20,7 @@ class UI {
|
||||||
void Init();
|
void Init();
|
||||||
void Poll();
|
void Poll();
|
||||||
void Flush();
|
void Flush();
|
||||||
bool DoEvents();
|
void DoEvents();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Menu_t current_menu;
|
Menu_t current_menu;
|
||||||
|
|
2
stmlib
2
stmlib
|
@ -1 +1 @@
|
||||||
Subproject commit e14f6eb13096d6ed648d140e730c541ba4fd702d
|
Subproject commit 0f1dc19f23d34b6f282558794bc089a147015d4f
|
Loading…
Reference in a new issue