We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd7ec12 commit 66d0703Copy full SHA for 66d0703
src/DmaChannelPdaBase.cxx
@@ -140,13 +140,14 @@ void DmaChannelPdaBase::startDma()
140
// Checks DMA state and forwards call to subclass if necessary
141
void DmaChannelPdaBase::stopDma()
142
{
143
- mDmaState = DmaState::STOPPED;
144
if (mDmaState == DmaState::UNKNOWN) {
145
log("Unknown DMA state");
+ mDmaState = DmaState::STOPPED;
146
} else if (mDmaState == DmaState::STOPPED) {
147
log("Warning: DMA already stopped. Ignoring stopDma() call");
148
} else {
149
log("Stopping DMA", InfoLogger::InfoLogger::Debug);
150
151
deviceStopDma();
152
}
153
0 commit comments