Communication for solid slow control.
Fork of sscm_comm by
Revision 1:288db0531b1f, committed 2014-09-23
- Comitter:
- wbeaumont
- Date:
- Tue Sep 23 19:40:46 2014 +0000
- Parent:
- 0:2afae79ea9ca
- Child:
- 2:1f9887337a1b
- Commit message:
- syntax corrections
Changed in this revision
sscm_comm.cpp | Show annotated file Show diff for this revision Revisions of this file |
sscm_comm.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/sscm_comm.cpp Tue Sep 23 19:21:20 2014 +0000 +++ b/sscm_comm.cpp Tue Sep 23 19:40:46 2014 +0000 @@ -1,9 +1,11 @@ -#include sscm_comm.h + +#include "mbed.h" +#include "sscm_comm.h" -#define SSCM_LIB_SRC_VERSION "1.00" +#define SSCM_LIB_SRC_VERSION "1.01" -using namespace sscm_comm +using namespace sscm_comm; int sscm_comm::decode_cmd(char* input, ssc_cmd * sc){ char part[6]; @@ -45,6 +47,8 @@ void sscm_comm::getmodulecordinate(u8 plane, u8& modulenr, u8& connr ,u8& serialnr ){ - // to be implemented + // to be implemented + modulenr=0; + }
--- a/sscm_comm.h Tue Sep 23 19:21:20 2014 +0000 +++ b/sscm_comm.h Tue Sep 23 19:40:46 2014 +0000 @@ -1,8 +1,10 @@ #ifndef SSCM_COMM_H #define SSCM_COMM_H - +/* + * + */ -#define SSCM_COMM_LIB_HDR_VERSION "1.00" +#define SSCM_COMM_LIB_HDR_VERSION "1.01" #define MAXCMDLLENGTH 256 @@ -44,7 +46,7 @@ void getmodulecordinate(u8 plane, u8& modulenr, u8& connr ,u8& serialnr ); - +} #endif