diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-06 09:41:01 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-06 09:41:01 +0000 |
commit | 069482ac06372bd9e184f6281399ae4731af375d (patch) | |
tree | 6adaaff76f1ffe033a381310c03ae2b203486c5a /test/rt/source | |
parent | 15e4e6f2949c7b6871bf93967f59dd39d1159b1a (diff) | |
download | ChibiOS-069482ac06372bd9e184f6281399ae4731af375d.tar.gz ChibiOS-069482ac06372bd9e184f6281399ae4731af375d.tar.bz2 ChibiOS-069482ac06372bd9e184f6281399ae4731af375d.zip |
Fixed test case to work with simulators.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11454 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/rt/source')
-rw-r--r-- | test/rt/source/test/rt_test_sequence_009.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rt/source/test/rt_test_sequence_009.c b/test/rt/source/test/rt_test_sequence_009.c index a01837efe..5abc45081 100644 --- a/test/rt/source/test/rt_test_sequence_009.c +++ b/test/rt/source/test/rt_test_sequence_009.c @@ -137,7 +137,7 @@ static void rt_test_009_001_execute(void) { test_set_step(5);
{
threads[2] = chThdCreateFromHeap(&heap1,
- THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 32),
+ (((size_t)-1) >> 1U) + 1U,
"dyn3",
prio-3, dyn_thread1, "C");
test_assert(threads[2] == NULL, "thread creation not failed");
|