Skip to content

Commit 7aea3bc

Browse files
committed
race tests: fix unsupported condition
Should be true if single thread is defined, then its not supported.
1 parent 4d985ea commit 7aea3bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_drivers/race_test/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "SingletonPtr.h"
2323
#include <stdio.h>
2424

25-
#ifndef MBED_RTOS_SINGLE_THREAD
25+
#ifdef MBED_RTOS_SINGLE_THREAD
2626
#error [NOT_SUPPORTED] test not supported for single threaded enviroment
2727
#endif
2828

0 commit comments

Comments
 (0)