Permalink
Browse files

Fix asm param constraints on ease8InOutQuad and ease8InOutApprox for …

…AVR versions.
  • Loading branch information...
kriegsman committed May 19, 2018
1 parent dbd2d8b commit fc3338bdab7529922d066de7fb4d8528a5374d8f
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib8tion.h
View
@@ -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"
);

0 comments on commit fc3338b

Please sign in to comment.