add timer pause when display function is called
This commit is contained in:
parent
6dcb04544b
commit
f958a155e3
5
liblog.c
5
liblog.c
|
@ -6,6 +6,7 @@
|
|||
#include <gint/defs/attributes.h>
|
||||
#include <liblog.h>
|
||||
#include <stdint.h>
|
||||
#include <gint/timer.h>
|
||||
|
||||
#ifdef FX9860G
|
||||
|
||||
|
@ -230,6 +231,8 @@ void ll_display()
|
|||
|
||||
void ll_pause()
|
||||
{
|
||||
for (int i=0; i<timer_count(); i++)
|
||||
timer_pause(i);
|
||||
dclear(C_WHITE);
|
||||
log_line* line=current_line;
|
||||
while (1)
|
||||
|
@ -251,6 +254,8 @@ void ll_pause()
|
|||
if (key==KEY_EXIT)
|
||||
break;
|
||||
}
|
||||
for (int i=0; i<timer_count(); i++)
|
||||
timer_start(i);
|
||||
}
|
||||
|
||||
GNORETURN void ll_panic(uint32_t code)
|
||||
|
|
Loading…
Reference in New Issue