Prevent badly timed out-of-band dwell from locking up the system

This commit is contained in:
Rob Giseburt
2020-01-10 19:25:11 -06:00
parent d2dba9d453
commit 9903851057
+3 -5
View File
@@ -876,11 +876,9 @@ void st_prep_dwell(float milliseconds)
void st_prep_out_of_band_dwell(float milliseconds)
{
if (!st_runtime_isbusy()) {
st_prep_dwell(milliseconds);
st_pre.buffer_state = PREP_BUFFER_OWNED_BY_LOADER; // signal that prep buffer is ready
st_request_load_move();
}
st_prep_dwell(milliseconds);
st_pre.buffer_state = PREP_BUFFER_OWNED_BY_LOADER; // signal that prep buffer is ready
st_request_load_move();
}
/*