diff options
author | Daniel Garcia <dgarcia@dgarcia.net> | 2018-10-26 11:40:38 +0300 |
---|---|---|
committer | Daniel Garcia <dgarcia@dgarcia.net> | 2018-10-26 11:40:38 +0300 |
commit | a3c70f59acd36b21f613ecad9b3a79fa5656a4a3 (patch) | |
tree | cc9c7de4c1cc98e6a995918c86c8551ebf90663e | |
parent | fdba485b44ba8006383e0af46a06189173846b56 (diff) |
Fix #672 - we weren't setting LIB8_ATTINY for the ATtiny841/441 - so asm opcodes that don't exist on the tiny cores were getting used...
-rw-r--r-- | platforms/avr/led_sysdefs_avr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/avr/led_sysdefs_avr.h b/platforms/avr/led_sysdefs_avr.h index 27024fe1..2518cacd 100644 --- a/platforms/avr/led_sysdefs_avr.h +++ b/platforms/avr/led_sysdefs_avr.h @@ -53,7 +53,7 @@ extern volatile unsigned long timer0_millis; }; // special defs for the tiny environments -#if defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega8U2__) || defined(__AVR_AT90USB162__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny167__) || defined(__AVR_ATtiny87__) || defined(__AVR_ATtinyX41__) +#if defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega8U2__) || defined(__AVR_AT90USB162__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny167__) || defined(__AVR_ATtiny87__) || defined(__AVR_ATtinyX41__) || defined(__AVR_ATtiny841__) || defined(__AVR_ATtiny441__) #define LIB8_ATTINY 1 #define FASTLED_NEEDS_YIELD #endif |