forked from PAWPAW-Mirror/lib_xua
Exit DoP on any command
This commit is contained in:
@@ -123,6 +123,8 @@ extern void device_reboot(void);
|
|||||||
if(testct(c_out))
|
if(testct(c_out))
|
||||||
{
|
{
|
||||||
unsigned command = inct(c_out);
|
unsigned command = inct(c_out);
|
||||||
|
if(dsdMode == DSD_MODE_DOP)
|
||||||
|
dsdMode = 0;
|
||||||
return {command, inuint(c_out)};
|
return {command, inuint(c_out)};
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -305,6 +307,8 @@ extern void device_reboot(void);
|
|||||||
p_dsd_clk <: 0;
|
p_dsd_clk <: 0;
|
||||||
#endif
|
#endif
|
||||||
command = inct(c_out);
|
command = inct(c_out);
|
||||||
|
if(dsdMode == DSD_MODE_DOP)
|
||||||
|
dsdMode = 0;
|
||||||
return {command, inuint(c_out)};
|
return {command, inuint(c_out)};
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -677,7 +681,6 @@ extern void device_reboot(void);
|
|||||||
// Set clocks low
|
// Set clocks low
|
||||||
p_lrclk <: 0;
|
p_lrclk <: 0;
|
||||||
p_bclk <: 0;
|
p_bclk <: 0;
|
||||||
|
|
||||||
return {0,0};
|
return {0,0};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user