tests/xtimer_mutex_lock_timeout: Fix compilation
Let XTIMER_SHIFT fall back to zero to allow compilation with the waspmote-pro
This commit is contained in:
parent
970fdff2c6
commit
4bb1e530bf
@ -25,6 +25,13 @@
|
||||
#include "msg.h"
|
||||
#include "irq.h"
|
||||
|
||||
/* XTIMER_SHIFT can be undefined when using xtimer_on_ztimer on boards
|
||||
* incompatible with xtimers tick conversion, e.g. the waspmote-pro
|
||||
*/
|
||||
#ifndef XTIMER_SHIFT
|
||||
#define XTIMER_SHIFT (0)
|
||||
#endif
|
||||
|
||||
/* timeout at one millisecond (1000 us) to make sure it does not spin. */
|
||||
#define LONG_MUTEX_TIMEOUT 1000
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user