]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
startup.pl/parsing of setup xml files: renamed <config> nodes to <JtagConf> for clarity
authorwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 11:29:23 +0000 (13:29 +0200)
committerwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 11:29:23 +0000 (13:29 +0200)
tools/startup.pl

index 91694c42d5022092e0055a5dff7f6625c816b917..ad7d0ff1a6fb5cf53690bb24baa1b048acf85e53 100755 (executable)
@@ -118,7 +118,7 @@ foreach my $curctrl ($db->getDocumentElement->findnodes('controller')) {
        }
       }
 
-      foreach my $cfg ($cursensor->findnodes('config')) {
+      foreach my $cfg ($cursensor->findnodes('JtagConf')) {
         print STDERR "      Found config\n" if $verbose;
         push(@{$JtagCommands->{$ctrladdr}},"./ui.pl -b $ctrlname -o ".$cfg->textContent());
         }
@@ -139,7 +139,7 @@ foreach my $curctrl ($db->getDocumentElement->findnodes('controller')) {
       }
       
       
-    foreach my $cfg ($curchain->findnodes('config')) {
+    foreach my $cfg ($curchain->findnodes('JtagConf')) {
       print STDERR "    Found config\n" if $verbose;
       push(@{$JtagCommands->{$ctrladdr}},"./ui.pl -b $ctrlname -c $chainname -o ".$cfg->textContent());
       }
@@ -147,7 +147,7 @@ foreach my $curctrl ($db->getDocumentElement->findnodes('controller')) {
     $chainsini->{$ctrladdr} .= proto_chainsini($chainname,$chainid,$ctrladdr,\@sname,\@sfile,\@senable);
     sensorini(\@sfile);
     }
-  foreach my $cfg ($curctrl->findnodes('config')) {
+  foreach my $cfg ($curctrl->findnodes('JtagConf')) {
     print STDERR "  Found config\n" if $verbose;
     push(@{$JtagCommands->{$ctrladdr}},"./ui.pl -b $ctrlname -o ".$cfg->textContent());
     }