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:
authorMark Kriegsman <kriegsman@tr.org>2015-01-15 05:54:02 +0300
committerMark Kriegsman <kriegsman@tr.org>2015-01-15 05:54:02 +0300
commit9546b2b7ae5f0d312116737760675cc3e0f09526 (patch)
tree49f662597451318de98547c782d9a11d2539cf17
parent46f0405a5263c4a2be4054676ce345fa61642807 (diff)
Bugfix in scale16by8 for AVR assembly. Ow.
-rw-r--r--lib8tion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib8tion.h b/lib8tion.h
index 638cf18a..f7c71692 100644
--- a/lib8tion.h
+++ b/lib8tion.h
@@ -912,7 +912,7 @@ LIB8STATIC uint16_t scale16by8( uint16_t i, fract8 scale )
// cleanup r1
" clr __zero_reg__ \n\t"
- : [result] "=r" (result)
+ : [result] "+r" (result)
: [i] "r" (i), [scale] "r" (scale)
: "r0", "r1"
);