diff options
Diffstat (limited to 'robot/hypervisor.c')
| -rw-r--r-- | robot/hypervisor.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/robot/hypervisor.c b/robot/hypervisor.c index e781877..3359bf6 100644 --- a/robot/hypervisor.c +++ b/robot/hypervisor.c @@ -44,9 +44,9 @@ void w2_hypervisor_main() {  #ifdef W2_SIM  	if (DBG_ENABLE_CYCLEINFO) siminfo("cycle end\n"); -	if (!g_w2_sim_headless) usleep(100e3); +	if (DBG_CYCLE_DELAY > 0) usleep(DBG_CYCLE_DELAY); -	if (g_w2_sim_headless && DBG_MAX_CYCLES > -1 && g_w2_hypervisor_cycles > DBG_MAX_CYCLES) +	if (DBG_MAX_CYCLES > -1 && g_w2_hypervisor_cycles > DBG_MAX_CYCLES)  		exit(0);  #endif |