Skip to content
Snippets Groups Projects
Commit 4f3ccd4f authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Thomas Huth
Browse files

tests/qtest: Replace magic value by NANOSECONDS_PER_SECOND definition


Use self-explicit NANOSECONDS_PER_SECOND definition instead
of a magic value.

Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201011194918.3219195-5-f4bug@amsat.org>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent a0bdf866
No related branches found
No related tags found
No related merge requests found
......@@ -292,7 +292,7 @@ static void alarm_time(void)
break;
}
clock_step(1000000000);
clock_step(NANOSECONDS_PER_SECOND);
}
g_assert(get_irq(RTC_ISA_IRQ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment