projects
/
vaillant-thermostat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e9e355
)
remove dead code
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 20 Mar 2017 09:23:42 +0000
(10:23 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 20 Mar 2017 09:23:42 +0000
(10:23 +0100)
serial.pl
patch
|
blob
|
history
diff --git
a/serial.pl
b/serial.pl
index
3c091ea
..
5dc5bda
100755
(executable)
--- a/
serial.pl
+++ b/
serial.pl
@@
-41,13
+41,6
@@
while (1) {
if ( $len > 0 ) {
my $hex = unpack('H*',$string);
$hex =~ s/(..)/$1 /g;
-=for later
- my $ascii;
- foreach ( split(/ /, $hex) ) {
- if ( ! exists $sym->{$_} ) {
- $chr++;
- $ascii
-=cut
my $temp = `curl localhost:3000/temp.txt`;
$temp =~ s/\s+/ /gs;