Fix compile error of CMDB which occurred by mbed-src modification.
Dependents: mbed_controller_demo
Fork of CMDB by
Diff: cmdb.h
- Revision:
- 27:ed36b4c73d4c
- Parent:
- 26:34c65d3f6da0
diff -r 34c65d3f6da0 -r ed36b4c73d4c cmdb.h --- a/cmdb.h Wed Feb 15 09:50:53 2012 +0000 +++ b/cmdb.h Thu Mar 12 12:05:53 2015 +0000 @@ -417,7 +417,7 @@ * @param serial a Serial port used for communication. * @param cmds a vector with the command table. */ - Cmdb(const Serial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); + Cmdb(Serial &_serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); /** The version of the Command Interpreter. * @@ -813,7 +813,7 @@ /** Internal Serial Port Storage. */ - Serial serial; + Serial &serial; /** Internal Command Table Vector Storage. *