remove debug

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7615 ddd99763-3ecb-0310-9145-efcb8ce7c51f
This commit is contained in:
jim 2009-07-10 21:49:51 +00:00
parent 8b458e5d20
commit a5f712b651
2 changed files with 13 additions and 1 deletions

13
pc/USB1-115200.ini Normal file
View File

@ -0,0 +1,13 @@
define \%P /dev/ttyUSB1
define \%B 115200
set line \%P
if failure { echo "Couldn't open \%P" , exit }
set carrier-watch off
set flow-control none
set speed \%B
set serial 8n1
set key \127 \8
log session /tmp/session.log
connect
quit

View File

@ -63,7 +63,6 @@ double keithley_read(int fd)
gputv("++read", NAN);
if (fdgets(s, 128, fd, 2000) == NULL)
return NAN;
printf("%s\n", s);
if (sscanf(s, "%lf,%lf,", &dummy, &i) != 2)
return NAN;
return i;