Reliability fix for Banana Pi M2+ (#1014) Also incremented version number

Co-authored-by: Tony Kuker <akuker@gmail.com>
This commit is contained in:
akuker 2022-12-04 11:55:38 -06:00 committed by GitHub
parent 88ff542aeb
commit 12068cafb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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) |

View File

@ -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;