Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2014-12-02 23:04:23 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2014-12-02 23:04:23 +0300
commit2b9fe51f3d3a4c32b8923e529f19b3de424d15ab (patch)
treeaa44a1c7f855aead8a2766b49e0b4a7efa31421b
parent8b398eebf6ebf59f9dfc6ec5d6dbda58e1040b93 (diff)
Stop gcc 4.8.3 from messing with my asm.
-rw-r--r--platforms/avr/clockless_trinket.h4
1 files 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<RGB_ORDER> & pixels) {
+ static void /*__attribute__ ((always_inline))*/ showRGBInternal(PixelController<RGB_ORDER> & pixels) {
uint8_t *data = (uint8_t*)pixels.mData;
data_ptr_t port = FastPin<DATA_PIN>::port();
data_t mask = FastPin<DATA_PIN>::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) {