Browse Source

Short term fix for avr-libc@2.3.0 (#25938)

Joel Challis 6 months ago
parent
commit
a0b15d08bc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      quantum/send_string/send_string.c

+ 4 - 0
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;