diff options
author | luz paz <luzpaz@users.noreply.github.com> | 2021-10-30 17:15:04 -0400 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2021-10-31 17:44:55 +0100 |
commit | 14d3bde10f8363f156ef72036d08dbf91f53b980 (patch) | |
tree | d5d40b464d2d1d5e97519d10024f46081d2733d4 /examples | |
parent | 6992d9bd4f627ae451e8a0371526a38434e074fe (diff) | |
download | libusb-14d3bde10f8363f156ef72036d08dbf91f53b980.tar.gz |
Fix various typos in docs/comments
Found via `codespell -q 3`
Closes #1015
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ezusb.c | 2 | ||||
-rw-r--r-- | examples/xusb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/ezusb.c b/examples/ezusb.c index 6abd47d..ec60b0e 100644 --- a/examples/ezusb.c +++ b/examples/ezusb.c @@ -195,7 +195,7 @@ static bool ezusb_cpucs(libusb_device_handle *device, uint32_t addr, bool doRun) } /* - * Send an FX3 jumpt to address command + * Send an FX3 jump to address command * Returns false on error. */ static bool ezusb_fx3_jump(libusb_device_handle *device, uint32_t addr) diff --git a/examples/xusb.c b/examples/xusb.c index cf7c7a8..45d2e35 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -220,7 +220,7 @@ static int display_ps3_status(libusb_device_handle *handle) printf("\tRIGHT 3 pressed\n"); break; case 0x08: - printf("\tSTART presed\n"); + printf("\tSTART pressed\n"); break; case 0x10: printf("\tUP pressed\n"); @@ -246,7 +246,7 @@ static int display_ps3_status(libusb_device_handle *handle) printf("\tLEFT 1 pressed\n"); break; case 0x08: - printf("\tRIGHT 1 presed\n"); + printf("\tRIGHT 1 pressed\n"); break; case 0x10: printf("\tTRIANGLE pressed\n"); |