We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b1e74 commit c1dd362Copy full SHA for c1dd362
1 file changed
src/hal/user_comps/xhc-whb04b-6/hal.cc
@@ -1341,9 +1341,11 @@ bool Hal::requestAutoMode(bool isRisingEdge)
1341
// ----------------------------------------------------------------------
1342
bool Hal::requestManualMode(bool isRisingEdge)
1343
{
1344
- if(isRisingEdge && *memory->in.isModeAuto)
+ if(isRisingEdge && !*memory->in.isProgramIdle)
1345
1346
- //Don't try to change from auto to manual
+ //Don't try to change to manual when not idle
1347
+ //When a program is running, this will fail
1348
+ //When an MDI command is active, this would stop it
1349
return false;
1350
}
1351
return requestMode(isRisingEdge, memory->out.doModeManual, memory->in.isModeManual);
0 commit comments