mirror of
https://git.planet-casio.com/Lephenixnoir/libprof.git
synced 2024-12-26 11:33:41 +01:00
udpate to gint 2.4.0
This commit is contained in:
parent
fd90842b82
commit
c0d5b053d9
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Build system for the libprof library for gint
|
# Build system for the libprof library for gint
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(libprof VERSION 2.2.1 LANGUAGES C)
|
project(libprof VERSION 2.4.0 LANGUAGES C)
|
||||||
find_package(Gint 2.2.1 REQUIRED)
|
find_package(Gint 2.2.1 REQUIRED)
|
||||||
|
|
||||||
configure_file(libprof.h libprof.h)
|
configure_file(libprof.h libprof.h)
|
||||||
|
|
|
@ -22,7 +22,8 @@ int prof_init(void)
|
||||||
int timer = -1;
|
int timer = -1;
|
||||||
for(int t = 2; t >= 0 && timer == -1; t--)
|
for(int t = 2; t >= 0 && timer == -1; t--)
|
||||||
{
|
{
|
||||||
timer = timer_setup(t | TIMER_Pphi_4, 0xffffffff, callback);
|
timer = timer_configure(t | TIMER_Pphi_4, 0xffffffff,
|
||||||
|
GINT_CALL(callback));
|
||||||
}
|
}
|
||||||
if(timer == -1)
|
if(timer == -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue