提交 1b26eaa1 编写于 作者: H Hervé Poussineau 提交者: Blue Swirl

esp: execute select commands immediately when it is a non-dma command

Signed-off-by: NHervé Poussineau <hpoussin@reactos.org>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 638dfeda
......@@ -270,7 +270,7 @@ static void handle_satn(ESPState *s)
uint8_t buf[32];
int len;
if (!s->dma_enabled) {
if (s->dma && !s->dma_enabled) {
s->dma_cb = handle_satn;
return;
}
......@@ -284,7 +284,7 @@ static void handle_s_without_atn(ESPState *s)
uint8_t buf[32];
int len;
if (!s->dma_enabled) {
if (s->dma && !s->dma_enabled) {
s->dma_cb = handle_s_without_atn;
return;
}
......@@ -296,7 +296,7 @@ static void handle_s_without_atn(ESPState *s)
static void handle_satn_stop(ESPState *s)
{
if (!s->dma_enabled) {
if (s->dma && !s->dma_enabled) {
s->dma_cb = handle_satn_stop;
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册