Improve comments

This commit is contained in:
Holger Vogt 2024-12-02 00:00:56 +01:00
parent 4589821df3
commit b04d42270b
1 changed files with 5 additions and 3 deletions

View File

@ -696,9 +696,7 @@ bool Evtcheck_nodes(
if (!cp_getvar("auto_bridge", CP_NUM, &show, sizeof show)) if (!cp_getvar("auto_bridge", CP_NUM, &show, sizeof show))
show = AB_SILENT; show = AB_SILENT;
/* Try to create joining device if any analog node name matches /* Check for incompatible command '.probe alli' */
* an event node. Failure is fatal.
*/
if (ckt->evt->info.node_list && cp_getvar("probe_alli_given", CP_BOOL, NULL, 0)) { if (ckt->evt->info.node_list && cp_getvar("probe_alli_given", CP_BOOL, NULL, 0)) {
fprintf(stderr, fprintf(stderr,
@ -708,6 +706,10 @@ bool Evtcheck_nodes(
controlled_exit(EXIT_FAILURE); controlled_exit(EXIT_FAILURE);
} }
/* Try to create joining device if any analog node name matches
* an event node. Failure is fatal.
*/
for (event_node = ckt->evt->info.node_list; for (event_node = ckt->evt->info.node_list;
event_node; event_node;
event_node = event_node->next) { event_node = event_node->next) {