mirror of
https://github.com/synthetos/g2.git
synced 2026-09-22 19:43:53 +08:00
Installed planner-level out-of-band-dwell to better handle pinup delays. Commented out spin down delays. These may be useful later for direction reversals, but for now they are not needed.
This commit is contained in:
@@ -247,7 +247,14 @@ stat_t mp_exec_move()
|
||||
{
|
||||
mpBuf_t *bf;
|
||||
|
||||
// NULL means nothing's running - this is OK
|
||||
// Run an out of band dwell. It was probably set in the previous st_load_move()
|
||||
if (mr->out_of_band_dwell_flag) {
|
||||
mr->out_of_band_dwell_flag = false;
|
||||
st_prep_out_of_band_dwell(mr->out_of_band_dwell_seconds * 1000000);
|
||||
return (STAT_OK);
|
||||
}
|
||||
|
||||
// Getting a NULL buffer means nothing's running in the queue - this is OK
|
||||
if ((bf = mp_get_run_buffer()) == NULL) {
|
||||
st_prep_null();
|
||||
return (STAT_NOOP);
|
||||
|
||||
Reference in New Issue
Block a user