From e1e5abef378ae14c0569793472036aee3c2fbeae Mon Sep 17 00:00:00 2001 From: OptimisticSide <47266822+optimisticside@users.noreply.github.com> Date: Thu, 1 Sep 2022 15:51:08 -0700 Subject: [PATCH] Fix typo in comment --- risc_v/src/plic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/risc_v/src/plic.rs b/risc_v/src/plic.rs index 5cb864a..6cf6807 100644 --- a/risc_v/src/plic.rs +++ b/risc_v/src/plic.rs @@ -99,7 +99,7 @@ pub fn enable(id: u32) { } } -/// Set a given interrupt priority to the given priority. +/// Set a given interrupt priority to the given interrupt id. /// The priority must be [0..7] pub fn set_priority(id: u32, prio: u8) { let actual_prio = prio as u32 & 7;