summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-17 20:23:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-17 20:23:50 +0100
commita498f62d61d9267a497a0310162e8b00e65cf7ad (patch)
treeb9c9d105319347c290494d0ca7e74e1ecb6dc12e
parentspec: Use EARS syntax (diff)
downloadrtems-central-a498f62d61d9267a497a0310162e8b00e65cf7ad.tar.bz2
spec: Fix clock manager parameter names
-rw-r--r--spec/rtems/clock/if/get-tod-timeval.yml2
-rw-r--r--spec/rtems/clock/if/set.yml8
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/rtems/clock/if/get-tod-timeval.yml b/spec/rtems/clock/if/get-tod-timeval.yml
index 5b96c2a8..01000b02 100644
--- a/spec/rtems/clock/if/get-tod-timeval.yml
+++ b/spec/rtems/clock/if/get-tod-timeval.yml
@@ -38,7 +38,7 @@ params:
${/glossary/unix-epoch:/term} and the ${/glossary/clock-realtime:/term} at
some point during the directive call will be stored in this variable.
dir: out
- name: time
+ name: time_of_day
return:
return: null
return-values:
diff --git a/spec/rtems/clock/if/set.yml b/spec/rtems/clock/if/set.yml
index e92167a4..14e855ed 100644
--- a/spec/rtems/clock/if/set.yml
+++ b/spec/rtems/clock/if/set.yml
@@ -1,6 +1,6 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
- Sets the ${/glossary/clock-realtime:/term} to the time.
+ Sets the ${/glossary/clock-realtime:/term} to the time of day.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
@@ -56,9 +56,9 @@ notes: |
set at least once, they may return an error status.
params:
- description: |
- is the time to set the clock.
+ is the time of day to set the clock.
dir: null
- name: time
+ name: time_of_day
return:
return: null
return-values:
@@ -69,6 +69,6 @@ return:
The ${.:/params[0]/name} parameter was ${/c/if/null:/name}.
value: ${../../status/if/invalid-address:/name}
- description: |
- The time point specified by ${.:/params[0]/name} was invalid.
+ The time of day specified by ${.:/params[0]/name} was invalid.
value: ${../../status/if/invalid-clock:/name}
type: interface