From e2ef8367f84fc0be633e47dba461c6a9da5ca417 Mon Sep 17 00:00:00 2001 From: "Mr.Blinky" Date: Wed, 1 Mar 2023 23:22:09 +0100 Subject: [PATCH] update source with ArduboyFX library 1.0.9 --- board-package-source/libraries/ArduboyFX/library.properties | 2 +- board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)