Added gui_fps function
This commit is contained in:
parent
f1f6a4c403
commit
1ca88c4280
1 changed files with 9 additions and 0 deletions
|
@ -630,6 +630,15 @@ void gui_flicker_led(int led, int unitnum, int status)
|
|||
gui_led(led, status);
|
||||
}
|
||||
|
||||
void gui_fps(int fps, int idle, int color)
|
||||
{
|
||||
gui_data.fps = fps;
|
||||
gui_data.idle = idle;
|
||||
gui_data.fps_color = color;
|
||||
gui_led(LED_FPS, 0);
|
||||
gui_led(LED_CPU, 0);
|
||||
gui_led(LED_SND, (gui_data.sndbuf_status > 1 || gui_data.sndbuf_status < 0) ? 0 : 1);
|
||||
}
|
||||
|
||||
void gui_filename(int num, const char* name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue