diff --git a/board-package-source/libraries/ArduboyFX/library.properties b/board-package-source/libraries/ArduboyFX/library.properties index 40f2f9e..d3ecefc 100644 --- a/board-package-source/libraries/ArduboyFX/library.properties +++ b/board-package-source/libraries/ArduboyFX/library.properties @@ -1,5 +1,5 @@ name=ArduboyFX -version=1.0.8 +version=1.0.9 author=Mr.Blinky maintainer=mstr.blinky@gmail.com sentence=The Arduboy FX library. diff --git a/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp b/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp index 29d0966..758480b 100644 --- a/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp +++ b/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp @@ -415,6 +415,7 @@ uint32_t FX::readPendingUInt32() "call %x1 \n" "movw %C[val], r24 \n" "call %x1 \n" + "movw %A[val], r24 \n" : [val] "=&r" (result) : "" (readPendingUInt16) : @@ -435,6 +436,7 @@ uint32_t FX::readPendingLastUInt32() "call %x1 \n" "movw %C[val], r24 \n" "call %x2 \n" + "movw %A[val], r24 \n" : [val] "=&r" (result) : "" (readPendingUInt16), "" (readPendingLastUInt16)