Skip to content

Commit e706157

Browse files
0xc0170adbridge
authored andcommitted
race tests: fix unsupported condition
Should be true if single thread is defined, then its not supported.
1 parent 8b1ac02 commit e706157

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)