Short term fix for avr-libc@2.3.0 (#25938)
Some checks failed
CI Build Major Branch / Determine concurrency (push) Waiting to run
CI Build Major Branch / Compile keymap default (push) Blocked by required conditions
CI Build Major Branch / Compile keymap xap (push) Blocked by required conditions
CI Build Major Branch / Consolidation (push) Blocked by required conditions
CLI CI / test (push) Waiting to run
Update develop after master merge / develop_update (push) Waiting to run
Generate Docs / generate (push) Waiting to run
Lint Format / lint (push) Waiting to run
Regenerate Files / regen (push) Waiting to run
Unit Tests / test (push) Waiting to run
Essential files modified / tag (push) Has been cancelled

This commit is contained in:
Joel Challis 2026-01-08 05:36:40 +00:00 committed by GitHub
parent 3d591a2000
commit a0b15d08bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;