summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorRémi Berthoz <[email protected]>2026-01-08 18:20:28 +0100
committerRémi Berthoz <[email protected]>2026-01-08 18:20:28 +0100
commitff9522f3c1eedacf6881d37a5afc6882e6c6bf3a (patch)
tree39f56bd5a751c18db52119f4d6e9e694223688fa /examples/device
parentd5a37ca0fb0a1c91820f1e4135f2096059e58474 (diff)
Fix typo in printer_to_hid example
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/printer_to_hid/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/printer_to_hid/src/main.c b/examples/device/printer_to_hid/src/main.c
index 46203b9db..765d1e653 100644
--- a/examples/device/printer_to_hid/src/main.c
+++ b/examples/device/printer_to_hid/src/main.c
@@ -153,7 +153,7 @@ static void translation_task(void) {
c -= 'a';
c += HID_KEY_A;
} else if ('A' <= c && c <= 'Z') {
- c -= 'a';
+ c -= 'A';
c += HID_KEY_A;
m = KEYBOARD_MODIFIER_LEFTSHIFT;
} else if ('1' <= c && c <= '9') {