mirror of
https://github.com/nasa/trick.git
synced 2025-01-23 12:58:04 +00:00
echo_jobs and debug_pause are not working
Changed the sim_object names in echo_jobs and debug_pase from "instrumentation" to "trick_instrumentation" refs #223
This commit is contained in:
parent
9012aaed2f
commit
a00b5dc847
@ -74,7 +74,7 @@ int Trick::DebugPause::debug_pause_on() {
|
|||||||
|
|
||||||
debug_sem = sem_open(sem_name.c_str(), O_CREAT, S_IRWXU , 0);
|
debug_sem = sem_open(sem_name.c_str(), O_CREAT, S_IRWXU , 0);
|
||||||
|
|
||||||
exec_instrument_before("instruments.debug_pause.debug_pause") ;
|
exec_instrument_before("trick_instruments.debug_pause.debug_pause") ;
|
||||||
|
|
||||||
//TODO: turn off real-time clock if on.
|
//TODO: turn off real-time clock if on.
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ int Trick::DebugPause::debug_pause_off() {
|
|||||||
}
|
}
|
||||||
debug_pause_flag = false ;
|
debug_pause_flag = false ;
|
||||||
|
|
||||||
exec_instrument_remove("instruments.debug_pause.debug_pause") ;
|
exec_instrument_remove("trick_instruments.debug_pause.debug_pause") ;
|
||||||
|
|
||||||
debug_signal() ;
|
debug_signal() ;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ int Trick::EchoJobs::echojobs_on() {
|
|||||||
return(0) ;
|
return(0) ;
|
||||||
}
|
}
|
||||||
echo_job_flag = true ;
|
echo_job_flag = true ;
|
||||||
exec_instrument_before("instruments.echo_jobs.echo_job") ;
|
exec_instrument_before("trick_instruments.echo_jobs.echo_job") ;
|
||||||
return(0) ;
|
return(0) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ int Trick::EchoJobs::echojobs_off() {
|
|||||||
return(0) ;
|
return(0) ;
|
||||||
}
|
}
|
||||||
echo_job_flag = false ;
|
echo_job_flag = false ;
|
||||||
exec_instrument_remove("instruments.echo_jobs.echo_job") ;
|
exec_instrument_remove("trick_instruments.echo_jobs.echo_job") ;
|
||||||
return(0) ;
|
return(0) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user