mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
fixed syntax errors.
This commit is contained in:
parent
c0b912dca2
commit
4730dc048d
@ -33,7 +33,7 @@ if($filename eq '') {
|
||||
my $ob = Device::SerialPort->new ($term) or die "Can't start $term\n";
|
||||
# next test will die at runtime unless $ob
|
||||
|
||||
if(($filename eq '')) die "you must specify a file with -f\n";
|
||||
if ($filename eq '') { die "you must specify a file with -f\n"; }
|
||||
|
||||
$ob->baudrate($baud);
|
||||
$ob->parity('none');
|
||||
@ -68,7 +68,7 @@ my $s = 0;
|
||||
print $ret . "\n";
|
||||
|
||||
|
||||
if (defined $filename) {
|
||||
if (-e $filename) {
|
||||
|
||||
my $size = -s $filename;
|
||||
|
||||
@ -88,9 +88,9 @@ my $s = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if(-e $second) {$s=1; $filename = $second; continue SEND; }
|
||||
if(-e $second) {$s=1; $filename = $second; next SEND; }
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
print "done.\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user