From fcf672bb4e8d3c93d6eb2f28e96255a9516eb610 Mon Sep 17 00:00:00 2001 From: Michael Gollnick Date: Thu, 10 Feb 2022 11:18:35 +0100 Subject: [PATCH] ArduboyFX: fix return type of readIndexedUInt8 Set the return type to uint8_t so the type matches the definition. --- board-package-source/libraries/ArduboyFX/src/ArduboyFX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board-package-source/libraries/ArduboyFX/src/ArduboyFX.h b/board-package-source/libraries/ArduboyFX/src/ArduboyFX.h index 0b0c283..36a1ca7 100644 --- a/board-package-source/libraries/ArduboyFX/src/ArduboyFX.h +++ b/board-package-source/libraries/ArduboyFX/src/ArduboyFX.h @@ -201,7 +201,7 @@ class FX static void readDataArray(uint24_t address, uint8_t index, uint8_t offset, uint8_t elementSize, uint8_t* buffer, size_t length); - static uint16_t readIndexedUInt8(uint24_t address, uint8_t index); + static uint8_t readIndexedUInt8(uint24_t address, uint8_t index); static uint16_t readIndexedUInt16(uint24_t address, uint8_t index);