For functions returning nothing, there is no need to document with @return, as Doxgen complains about "documented empty return type of ...". Signed-off-by: Daniel Leung <daniel.leung@intel.com>
35 lines
494 B
C
35 lines
494 B
C
/* fifo_r.c */
|
|
|
|
/*
|
|
* Copyright (c) 1997-2010, 2013-2014 Wind River Systems, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "receiver.h"
|
|
#include "master.h"
|
|
|
|
#ifdef FIFO_BENCH
|
|
|
|
/* queue transfer speed test */
|
|
/**
|
|
*
|
|
* @brief Data receive task
|
|
*
|
|
*/
|
|
void dequtask(void)
|
|
{
|
|
int x, i;
|
|
|
|
for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
|
|
k_msgq_get(&DEMOQX1, &x, K_FOREVER);
|
|
}
|
|
|
|
for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
|
|
k_msgq_get(&DEMOQX4, &x, K_FOREVER);
|
|
}
|
|
}
|
|
|
|
|
|
#endif /* FIFO_BENCH */
|