Skip to content
Snippets Groups Projects
Commit 646c6d67 authored by MrKevinWeiss's avatar MrKevinWeiss
Browse files

tests/libfixmath: Add delay at start of test

The delay allows allows time for the `make term` to connect and start flushing the output buffer before the buffer overflows.
parent b88de338
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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