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:
commit
059ef5c437
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user