1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #10201 from MrKevinWeiss/pr/tests/fixlibfixmath

tests/libfixmath: Add delay at start of test
This commit is contained in:
José Alamos 2018-10-25 11:06:37 +02:00 committed by GitHub
commit 059ef5c437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,8 @@ include ../Makefile.tests_common
USEPKG += libfixmath
USEMODULE += libfixmath
USEMODULE += xtimer
TEST_ON_CI_WHITELIST += native
TEST_ON_CI_WHITELIST += all
include $(RIOTBASE)/Makefile.include

View File

@ -30,6 +30,7 @@
#include <stdio.h>
#include "xtimer.h"
#include "fix16.h"
#ifndef M_PI
@ -184,6 +185,8 @@ static void unary_ops(void)
int main(void)
{
/* Delay output to prevent flooding of buffer */
xtimer_sleep(1);
puts("Unary.");
unary_ops();