aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/send_string
diff options
context:
space:
mode:
authorJoel Challis2026-01-08 06:36:40 +0100
committerGitHub2026-01-08 06:36:40 +0100
commita0b15d08bc56ccbea9990dde884136425e9886f7 (patch)
treef831caddc1974c843718f8827f86dbe2f7560347 /quantum/send_string
parent3d591a2000044d859115b8f6bf8e0c6af60acb74 (diff)
Short term fix for avr-libc@2.3.0 (#25938)
Diffstat (limited to 'quantum/send_string')
-rw-r--r--quantum/send_string/send_string.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/send_string/send_string.c b/quantum/send_string/send_string.c
index 602f24dabe..6471d5140c 100644
--- a/quantum/send_string/send_string.c
+++ b/quantum/send_string/send_string.c
@@ -281,6 +281,10 @@ void send_nibble(uint8_t number) {
}
}
+#if defined(__AVR_ATmega32U4__)
+# include <avr/io.h>
+#endif
+
void tap_random_base64(void) {
#if defined(__AVR_ATmega32U4__)
uint8_t key = (TCNT0 + TCNT1 + TCNT3 + TCNT4) % 64;