µGFX
2.9
version 2.9
gos_zephyr.c
1
/*
2
* This file is subject to the terms of the GFX License. If a copy of
3
* the license was not distributed with this file, you can obtain one at:
4
*
5
* http://ugfx.io/license.html
6
*/
7
8
#include "../../gfx.h"
9
10
#if GFX_USE_OS_ZEPHYR
11
12
gTicks
gfxSystemTicks
(
void
)
13
{
14
s32_t ms = k_uptime_get_32();
15
return
CONFIG_SYS_CLOCK_TICKS_PER_SEC*ms/1000;
16
}
17
18
#endif
// GFX_USE_OS_ZEPHYR
gfxSystemTicks
gTicks gfxSystemTicks(void)
Get the current operating system tick time.
Users
joel
Documents
projects
ugfx
library_v2
src
gos
gos_zephyr.c
Generated on Thu Aug 19 2021 13:46:13 for µGFX by
1.9.1