mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #10201 from MrKevinWeiss/pr/tests/fixlibfixmath
tests/libfixmath: Add delay at start of test
This commit is contained in:
commit
059ef5c437
@ -2,7 +2,8 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
USEPKG += libfixmath
|
USEPKG += libfixmath
|
||||||
USEMODULE += libfixmath
|
USEMODULE += libfixmath
|
||||||
|
USEMODULE += xtimer
|
||||||
|
|
||||||
TEST_ON_CI_WHITELIST += native
|
TEST_ON_CI_WHITELIST += all
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "xtimer.h"
|
||||||
#include "fix16.h"
|
#include "fix16.h"
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
@ -184,6 +185,8 @@ static void unary_ops(void)
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
/* Delay output to prevent flooding of buffer */
|
||||||
|
xtimer_sleep(1);
|
||||||
puts("Unary.");
|
puts("Unary.");
|
||||||
unary_ops();
|
unary_ops();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user