Buffered OSD update.

This commit is contained in:
sorgelig
2019-12-01 21:39:28 +08:00
parent 6f4163b024
commit ea43ef519b
5 changed files with 136 additions and 67 deletions

View File

@@ -5,6 +5,7 @@
#include "user_io.h"
#include "input.h"
#include "fpga_io.h"
#include "osd.h"
static cothread_t co_scheduler = nullptr;
static cothread_t co_poll = nullptr;
@@ -47,6 +48,7 @@ static void scheduler_co_ui(void)
for (;;)
{
HandleUI();
OsdUpdate();
scheduler_yield();
}