From 12068cafb836c4113eedac069904f03718df0f71 Mon Sep 17 00:00:00 2001 From: akuker <34318535+akuker@users.noreply.github.com> Date: Sun, 4 Dec 2022 11:55:38 -0600 Subject: [PATCH] Reliability fix for Banana Pi M2+ (#1014) Also incremented version number Co-authored-by: Tony Kuker --- cpp/hal/gpiobus_bananam2p.cpp | 1 + cpp/shared/rascsi_version.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/hal/gpiobus_bananam2p.cpp b/cpp/hal/gpiobus_bananam2p.cpp index 352ae657..b497589a 100644 --- a/cpp/hal/gpiobus_bananam2p.cpp +++ b/cpp/hal/gpiobus_bananam2p.cpp @@ -533,6 +533,7 @@ void GPIOBUS_BananaM2p::SetREQ(bool ast) uint8_t GPIOBUS_BananaM2p::GetDAT() { GPIO_FUNCTION_TRACE + (void)Acquire(); // TODO: This is inefficient, but it works... uint32_t data = ((GetSignal(BPI_PIN_DT0) ? 0x01 : 0x00) << 0) | ((GetSignal(BPI_PIN_DT1) ? 0x01 : 0x00) << 1) | diff --git a/cpp/shared/rascsi_version.cpp b/cpp/shared/rascsi_version.cpp index 2d9d1594..487f1407 100644 --- a/cpp/shared/rascsi_version.cpp +++ b/cpp/shared/rascsi_version.cpp @@ -14,7 +14,7 @@ // The following should be updated for each release const int rascsi_major_version = 22; // Last two digits of year -const int rascsi_minor_version = 11; // Month +const int rascsi_minor_version = 12; // Month const int rascsi_patch_version = -1; // Patch number - increment for each update using namespace std;