Skip to content

Commit

Permalink
Fix asm param constraints on ease8InOutQuad and ease8InOutApprox for …
Browse files Browse the repository at this point in the history
…AVR versions.
  • Loading branch information
kriegsman committed May 19, 2018
1 parent dbd2d8b commit fc3338b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib8tion.h
Expand Up @@ -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"
);
Expand Down Expand Up @@ -706,7 +706,7 @@ LIB8STATIC uint8_t ease8InOutApprox( fract8 i)

"Ldone_%=: \n\t"

: [i] "+a" (i)
: [i] "+&a" (i)
:
: "r0", "r1"
);
Expand Down

0 comments on commit fc3338b

Please sign in to comment.