mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 01:31:25 +00:00
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:
parent
c59a300a97
commit
23e5286267
@ -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);
|
||||
@ -437,7 +436,6 @@ void GPIOBUS_Raspberry::SetBSY(bool ast)
|
||||
SetMode(PIN_IO, IN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool GPIOBUS_Raspberry::GetSEL() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user