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@users.noreply.github.com>2018-05-19 03:07:51 +0300
committerMark Kriegsman <kriegsman@users.noreply.github.com>2018-05-19 03:07:51 +0300
commitfc3338bdab7529922d066de7fb4d8528a5374d8f (patch)
tree191cd359e30cbb65459d2b428db158110aad5343
parentdbd2d8b8ca037f9d2d5e743785abac28b125c947 (diff)
Fix asm param constraints on ease8InOutQuad and ease8InOutApprox for AVR versions.
-rw-r--r--lib8tion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib8tion.h b/lib8tion.h
index 9397f4f3..42f985de 100644
--- a/lib8tion.h
+++ b/lib8tion.h
@@ -604,7 +604,7 @@ LIB8STATIC uint8_t ease8InOutQuad(uint8_t val) {
"sbrc %[val], 7 \n"
"com %[j] \n"
"clr __zero_reg__ \n"
- : [j] "+a" (j)
+ : [j] "+&a" (j)
: [val] "a" (val)
: "r0", "r1"
);
@@ -706,7 +706,7 @@ LIB8STATIC uint8_t ease8InOutApprox( fract8 i)
"Ldone_%=: \n\t"
- : [i] "+a" (i)
+ : [i] "+&a" (i)
:
: "r0", "r1"
);