summaryrefslogtreecommitdiffstats
path: root/spec/rtems/task/req
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-16 11:26:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-11-18 20:49:01 +0100
commitb1424193cb46641d8d036a8b59bc3f33f5023d02 (patch)
treeebca85d60bd91b4f55b01ae3aa1b441b2d1c7237 /spec/rtems/task/req
parentspec: Errors of rtems_scheduler_remove_processor() (diff)
downloadrtems-central-b1424193cb46641d8d036a8b59bc3f33f5023d02.tar.bz2
spec: Avoid magic number
Diffstat (limited to 'spec/rtems/task/req')
-rw-r--r--spec/rtems/task/req/create-errors.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rtems/task/req/create-errors.yml b/spec/rtems/task/req/create-errors.yml
index 9710180d..460141f8 100644
--- a/spec/rtems/task/req/create-errors.yml
+++ b/spec/rtems/task/req/create-errors.yml
@@ -170,7 +170,7 @@ pre-conditions:
states:
- name: Valid
test-code: |
- ctx->initial_priority = 254;
+ ctx->initial_priority = RTEMS_MAXIMUM_PRIORITY - 1;
text: |
While the ${../if/create:/params[1]/name} parameter is valid and
non-zero.