mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/test_utils/interactive_sync: allow module disabling
If the header file is included test_utils_interactive_sync() will be defined as an empty function when the module is not used, e.g. added to DISABLE_MODULES in tests/*
This commit is contained in:
parent
2ebf1d68b4
commit
091ab15912
@ -32,7 +32,11 @@ extern "C" {
|
||||
* @details Wait for a 's' character to return
|
||||
*
|
||||
*/
|
||||
#ifdef MODULE_TEST_UTILS_INTERACTIVE_SYNC
|
||||
void test_utils_interactive_sync(void);
|
||||
#else
|
||||
static inline void test_utils_interactive_sync(void) {}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user