foldme draft

Tue, 11 Oct 2016 21:44:04 +0200

author
David Douard <david.douard@logilab.fr>
date
Tue, 11 Oct 2016 21:44:04 +0200
changeset 10
01515349b30e
parent 9
e5254c6aa0c8
child 11
09ae4cac6649

foldme

src/hp34comm.cpp file | annotate | diff | comparison | revisions
src/hp34comm.h file | annotate | diff | comparison | revisions
src/main.cpp file | annotate | diff | comparison | revisions
--- a/src/hp34comm.cpp	Tue Oct 11 00:46:18 2016 +0200
+++ b/src/hp34comm.cpp	Tue Oct 11 21:44:04 2016 +0200
@@ -16,7 +16,7 @@
 
 DigitalOut lled(LED1);
   
-HPSerial::HPSerial(PinName rx, PinName tx):
+HPSerial::HPSerial(PinName rx):
   serial_rx(NC, rx),
   ncmd(0) {
   
--- a/src/hp34comm.h	Tue Oct 11 00:46:18 2016 +0200
+++ b/src/hp34comm.h	Tue Oct 11 21:44:04 2016 +0200
@@ -29,7 +29,7 @@
 
 
   
-  HPSerial(PinName rx, PinName tx);
+  HPSerial(PinName rx);
   
   bool cmd_available(void);
   bool pop(CMD& cmd);
--- a/src/main.cpp	Tue Oct 11 00:46:18 2016 +0200
+++ b/src/main.cpp	Tue Oct 11 21:44:04 2016 +0200
@@ -276,7 +276,7 @@
   wait(2);
   dsp->cls();
 
-  hp = new HPSerial(HP_RX, HP_TX);
+  hp = new HPSerial(HP_RX);
   //hp = NULL;
 }
 

mercurial