From ff9522f3c1eedacf6881d37a5afc6882e6c6bf3a Mon Sep 17 00:00:00 2001 From: Rémi Berthoz Date: Thu, 8 Jan 2026 18:20:28 +0100 Subject: Fix typo in printer_to_hid example --- examples/device/printer_to_hid/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') { -- cgit v1.3.1