From 0b0e9a7136f0ccfa4fffbd57b9445fb72ceecd8e Mon Sep 17 00:00:00 2001 From: "Mr.Blinky" Date: Tue, 17 Jan 2023 21:59:25 +0100 Subject: [PATCH] update Arduboy FX library to 1.0.6 fix corruption of register r17 in drawFrame --- board-package-source/libraries/ArduboyFX/library.properties | 2 +- board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board-package-source/libraries/ArduboyFX/library.properties b/board-package-source/libraries/ArduboyFX/library.properties index abf0a9a..336a8fa 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.5 +version=1.0.6 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 fc6eee1..edfb0c8 100644 --- a/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp +++ b/board-package-source/libraries/ArduboyFX/src/ArduboyFX.cpp @@ -800,7 +800,7 @@ uint24_t FX::drawFrame(uint24_t address) //~94 bytes "mov r20, r24 \n" // bmp address "movw r18, r22 \n" "call %x3 \n" - "movw r16, r24 \n" // frame + "mov r16, r24 \n" // frame "call %x4 \n" "mov r14, r24 \n" // mode "movw r24, r30 \n" // x