update source with ArduboyFX library 1.0.9

This commit is contained in:
Mr.Blinky 2023-03-01 23:22:09 +01:00
parent c88ab0d663
commit e2ef8367f8
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
name=ArduboyFX name=ArduboyFX
version=1.0.8 version=1.0.9
author=Mr.Blinky author=Mr.Blinky
maintainer=mstr.blinky@gmail.com maintainer=mstr.blinky@gmail.com
sentence=The Arduboy FX library. sentence=The Arduboy FX library.

View File

@ -415,6 +415,7 @@ uint32_t FX::readPendingUInt32()
"call %x1 \n" "call %x1 \n"
"movw %C[val], r24 \n" "movw %C[val], r24 \n"
"call %x1 \n" "call %x1 \n"
"movw %A[val], r24 \n"
: [val] "=&r" (result) : [val] "=&r" (result)
: "" (readPendingUInt16) : "" (readPendingUInt16)
: :
@ -435,6 +436,7 @@ uint32_t FX::readPendingLastUInt32()
"call %x1 \n" "call %x1 \n"
"movw %C[val], r24 \n" "movw %C[val], r24 \n"
"call %x2 \n" "call %x2 \n"
"movw %A[val], r24 \n"
: [val] "=&r" (result) : [val] "=&r" (result)
: "" (readPendingUInt16), : "" (readPendingUInt16),
"" (readPendingLastUInt16) "" (readPendingLastUInt16)