From 1d94968b2f2524a147b3690510cadb0b506a65ed Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 13 Dec 2022 22:36:47 +0800 Subject: [PATCH] chore: fix typos --- services/status/src/main.rs | 2 +- tools/updater/precursorupdater/precursorupdater.py | 4 ++-- xtask/src/main.rs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/status/src/main.rs b/services/status/src/main.rs index 2a41b166b..88363a68c 100644 --- a/services/status/src/main.rs +++ b/services/status/src/main.rs @@ -866,7 +866,7 @@ fn wrapped_main() -> ! { write!( &mut battstats_tv, "{}", - ssid.name.as_str().unwrap_or("UTF-8 Erorr"), + ssid.name.as_str().unwrap_or("UTF-8 Error"), ).unwrap(); } else { if wifi_status.link_state == com_rs_ref::LinkState::ResetHold { diff --git a/tools/updater/precursorupdater/precursorupdater.py b/tools/updater/precursorupdater/precursorupdater.py index f11fb4e3a..243a8deed 100755 --- a/tools/updater/precursorupdater/precursorupdater.py +++ b/tools/updater/precursorupdater/precursorupdater.py @@ -278,7 +278,7 @@ def get_usb_interface(config=False, peek=None, override_csr=None, force=False): "LOC_PDDB" : [0x01D80000, "pass"], } else: - print("SoC is from an unknow rev '{}', use --force to continue anyways with v0.9 firmware offsets".format(pc_usb.load_csrs())) + print("SoC is from an unknown rev '{}', use --force to continue anyways with v0.9 firmware offsets".format(pc_usb.load_csrs())) exit(1) return (locs, pc_usb) @@ -417,7 +417,7 @@ def main(): retry_usb = False while True: if retry_usb: - print("Trying to re-aquire Precursor device...") + print("Trying to re-acquire Precursor device...") try: (locs, pc_usb) = get_usb_interface(args.config, args.peek, args.override_csr, args.force) except Exception as e: diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 20e0f9038..a851d6cbf 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -424,10 +424,10 @@ Hardware images: app-image Precursor user image. [cratespecs] are apps perf-image Precursor user image, with performance profiling. [cratespecs] are apps tts builds an image with text to speech support via externally linked C executable. [cratespecs] are apps - usbdev minimal, insecure build for new USB core bringup. [cratespecs] are services + usbdev minimal, insecure build for new USB core bring-up. [cratespecs] are services trng-test automation framework for TRNG testing (CPRNG seeded by RO^AV). [cratespecs] ignored. ro-test automation framework for TRNG testing (RO directly, no CPRNG). [cratespecs] ignored. - av-test automation framework for TRNG testing (AV dircetly, no CPRNG). [cratespecs] ignored. + av-test automation framework for TRNG testing (AV directly, no CPRNG). [cratespecs] ignored. tiny Precursor tiny image. For testing with services built out-of-tree. Hosted emulation: @@ -435,7 +435,7 @@ Hosted emulation: pddb-ci PDDB config for CI testing (eg: TRNG->deterministic for reproducible errors). [cratespecs] ignored. pddb-btest PDDB stress tester for secret basis creation/deletion [cratespecs] ignored. hosted-debug Run user image in hosted mode with debug flags. [cratespecs] are apps - gfx-dev Testing mode for graphics primitves. [cratespecs] are services + gfx-dev Testing mode for graphics primitives. [cratespecs] are services pddb-dev Testing for compilation errors on hardware targets on the PDDB. Renode emulation: