Improve output message

This commit is contained in:
Holger Vogt 2025-06-04 13:04:39 +02:00
parent c8f3a054c9
commit d055949726
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ void cm_seegen(ARGS) /* structure holding parms,
STATIC_VAR(last_ctrl) = (double *) malloc(sizeof(double));
last_ctrl = (double *) STATIC_VAR(last_ctrl);
*last_ctrl = ctrl;
/* set breakpoints at new pulse start and pulse maximum times */
/* set breakpoints at first pulse start and pulse maximum times */
double tatmax = *last_t_value + tfall * trise * log(trise/tfall) / (trise - tfall);
cm_analog_set_perm_bkpt(*last_t_value);
cm_analog_set_perm_bkpt(tatmax);
@ -205,7 +205,7 @@ void cm_seegen(ARGS) /* structure holding parms,
}
if (tcurr > *last_t_value + tperiod * 0.9) {
/* return some info */
cm_message_printf("port no.: %d, port name: out, \nnode names: %s, %s, pulse time: %e",
cm_message_printf("port name: out, node pair no.: %d, \nnode names: %s, %s, pulse time: %e",
*pulse_number, cm_get_node_name("out", *pulse_number - 1),
cm_get_neg_node_name("out", *pulse_number - 1), *last_t_value);
/* set the time for the next pulse */