Update stmlib, remove return value from UI::DoEvents

This commit is contained in:
Jan-Henrik 2020-02-23 02:26:07 +01:00
parent 433ff597ab
commit 6e04536dd8
4 changed files with 10 additions and 14 deletions

View file

@ -46,7 +46,5 @@ PACKAGES = midi2cv \
stmlib/system
RESOURCES = midi2cv/resources
TOOLCHAIN_PATH ?= /usr/local/arm-4.8.3/
include stmlib/makefile.inc

View file

@ -61,7 +61,7 @@ void UI::Flush()
display.Flush();
}
bool UI::DoEvents()
void UI::DoEvents()
{
bool refresh_display = false;
while (input_queue.available()) {
@ -84,8 +84,6 @@ bool UI::DoEvents()
input_queue.Touch();
Draw();
}
return refresh_display;
}
void UI::OnClick()

View file

@ -20,7 +20,7 @@ class UI {
void Init();
void Poll();
void Flush();
bool DoEvents();
void DoEvents();
private:
Menu_t current_menu;

2
stmlib

@ -1 +1 @@
Subproject commit e14f6eb13096d6ed648d140e730c541ba4fd702d
Subproject commit 0f1dc19f23d34b6f282558794bc089a147015d4f