Fix BSY pin handling in initiator mode (#1312)

* In initiator mode configure BSY as an output pin when BSY is set
This commit is contained in:
Uwe Seimet 2023-11-13 08:40:03 +01:00 committed by Daniel Markstedt
parent 796869dde6
commit a7f062a0ad

View File

@ -410,7 +410,6 @@ void GPIOBUS_Raspberry::SetBSY(bool ast)
// Set BSY signal
SetSignal(PIN_BSY, ast);
if (actmode == mode_e::TARGET) {
if (ast) {
// Turn on ACTIVE signal
SetControl(PIN_ACT, ACT_ON);
@ -436,7 +435,6 @@ void GPIOBUS_Raspberry::SetBSY(bool ast)
SetMode(PIN_REQ, IN);
SetMode(PIN_IO, IN);
}
}
}
bool GPIOBUS_Raspberry::GetSEL() const