Fix typos

This commit is contained in:
Emil Fresk 2023-01-08 19:16:36 +01:00 committed by Henrik Tjäder
parent cbe5926880
commit 9a67f00a30
3 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ mod app {
let _x: &'static mut u32 = cx.local.x;
// Access to the critical section token,
// to indicate that this is a critical seciton
// to indicate that this is a critical section
let _cs_token: bare_metal::CriticalSection = cx.cs;
hprintln!("init").unwrap();

View file

@ -140,7 +140,7 @@ pub fn codegen(ctxt: Context, app: &App, analysis: &Analysis) -> TokenStream2 {
let interrupt = &analysis
.interrupts
.get(&priority)
.expect("RTIC-ICE: interrupt identifer not found")
.expect("RTIC-ICE: interrupt identifier not found")
.0;
let internal_spawn_ident = util::internal_task_ident(name, "spawn");

View file

@ -136,7 +136,7 @@ pub fn run_command(command: &CargoCommand) -> anyhow::Result<RunResult> {
})
}
/// Check if `run` was sucessful.
/// Check if `run` was successful.
/// returns Ok in case the run went as expected,
/// Err otherwise
pub fn run_successful(run: &RunResult, expected_output_file: String) -> Result<(), TestRunError> {