# HG changeset patch # User David Douard # Date 1476215044 -7200 # Node ID 01515349b30e9d188dd065f72da9308de81a9334 # Parent e5254c6aa0c8cde75b749c627a22848e160977d6 foldme diff -r e5254c6aa0c8 -r 01515349b30e src/hp34comm.cpp --- 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) { diff -r e5254c6aa0c8 -r 01515349b30e src/hp34comm.h --- 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); diff -r e5254c6aa0c8 -r 01515349b30e src/main.cpp --- 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; }