mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-01 06:23:35 +01:00
tmu: fix delay truncation in subfunction call
This commit is contained in:
parent
b17d4de4a8
commit
e8b4bcc9cb
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static void conf(int id, uint32_t delay, int clock, gint_call_t call)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* matches(): Check if a timer matches the provided specification and delay */
|
/* matches(): Check if a timer matches the provided specification and delay */
|
||||||
static int matches(int id, int spec, uint32_t delay)
|
static int matches(int id, int spec, uint64_t delay)
|
||||||
{
|
{
|
||||||
/* A specific idea only matches the exact timer */
|
/* A specific idea only matches the exact timer */
|
||||||
if(spec >= 0) return id == (spec & 0xf);
|
if(spec >= 0) return id == (spec & 0xf);
|
||||||
|
|
Loading…
Reference in a new issue