Skip to content

Commit

Permalink
Merge pull request tock#3970 from tock/hudson.ayers/alarm-fix
Browse files Browse the repository at this point in the history
Fix alarm syscall driver command comments
  • Loading branch information
bradjc authored Apr 18, 2024
2 parents 28a132f + 5015b90 commit 09f59e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions capsules/core/src/alarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,12 @@ impl<'a, A: Alarm<'a>> SyscallDriver for AlarmDriver<'a, A> {
///
/// - `0`: Driver existence check.
/// - `1`: Return the clock frequency in Hz.
/// - `2`: Read the the current clock value
/// - `2`: Read the current clock value
/// - `3`: Stop the alarm if it is outstanding
/// - `4`: Set an alarm to fire at a given clock value `time`.
/// - `5`: Set an alarm to fire at a given clock value `time` relative to `now` (EXPERIMENTAL).
/// - `4`: Deprecated
/// - `5`: Set an alarm to fire at a given clock value `time` relative to `now`
/// - `6`: Set an alarm to fire at a given clock value `time` relative to a provided
/// reference point.
fn command(
&self,
cmd_type: usize,
Expand Down

0 comments on commit 09f59e7

Please sign in to comment.