From 2b9fe51f3d3a4c32b8923e529f19b3de424d15ab Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 2 Dec 2014 12:04:23 -0800 Subject: Stop gcc 4.8.3 from messing with my asm. --- platforms/avr/clockless_trinket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/avr/clockless_trinket.h b/platforms/avr/clockless_trinket.h index fd831319..f2dc14c9 100644 --- a/platforms/avr/clockless_trinket.h +++ b/platforms/avr/clockless_trinket.h @@ -217,7 +217,7 @@ protected: // This method is made static to force making register Y available to use for data on AVR - if the method is non-static, then // gcc will use register Y for the this pointer. - static void __attribute__ ((always_inline)) showRGBInternal(PixelController & pixels) { + static void /*__attribute__ ((always_inline))*/ showRGBInternal(PixelController & pixels) { uint8_t *data = (uint8_t*)pixels.mData; data_ptr_t port = FastPin::port(); data_t mask = FastPin::mask(); @@ -267,7 +267,7 @@ protected: ADJDITHER2(d0,e0); ADJDITHER2(d1,e1); ADJDITHER2(d2,e2); - + NOP; #if (FASTLED_ALLOW_INTERRUPTS == 1) cli(); if(TIFR0 & 0x04) { -- cgit v1.2.3