mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-28 04:49:33 +01:00
Fix typos
This commit is contained in:
parent
796433fad2
commit
01e01643f5
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue