Add a breakpoint to catch the pulse start time.

This commit is contained in:
Holger Vogt 2025-05-27 13:56:08 +02:00
parent 8e7c15a01a
commit 064c649d98
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ void cm_seegen(ARGS) /* structure holding parms,
*pulse_number, cm_get_node_name("out", *pulse_number - 1), *last_t_value);
/* set the time for the next pulse */
*last_t_value = *last_t_value + tperiod;
/* set breakpoint at new pulse start time */
cm_analog_set_perm_bkpt(*last_t_value);
(*pulse_number)++;
if (*pulse_number > PORT_SIZE(out)) {
if (PARAM(perlim) == FALSE)