Laurens Tromp / mbed-rpc

Fork of mbed-rpc by mbed official

Files at this revision

API Documentation at this revision

Comitter:
lktromp
Date:
Tue Feb 04 12:41:57 2014 +0000
Parent:
6:be730ea7a82a
Commit message:
Removed some comments

Changed in this revision

RpcClasses.h Show annotated file Show diff for this revision Revisions of this file
rpc.h Show annotated file Show diff for this revision Revisions of this file
--- a/RpcClasses.h	Fri Jan 31 13:52:45 2014 +0000
+++ b/RpcClasses.h	Tue Feb 04 12:41:57 2014 +0000
@@ -20,7 +20,6 @@
 
 namespace mbed {
 
-//zaza
 class RpcI2C : public RPC {
 public:
     RpcI2C(PinName sda, PinName scl,           const char *name=NULL) : RPC(name), o(sda, scl) {}
@@ -57,7 +56,6 @@
 private:
     I2C o;
 };
-//zaza
 
 class RpcDigitalOut : public RPC {
 public:
--- a/rpc.h	Fri Jan 31 13:52:45 2014 +0000
+++ b/rpc.h	Tue Feb 04 12:41:57 2014 +0000
@@ -237,8 +237,6 @@
     result->putData<R>(res);
 }
 
-//{"write", rpc_method_caller<int, RpcI2C, int, const char *, int , bool, &RpcI2C::write>},
-
 /* Function rpc_function caller
  */
 template<typename R, R(*func)()>
@@ -292,8 +290,6 @@
     result->putData<R>(res);
 }
 
-//zaza
-
 /* Function rpc_method_caller
  */
 template<typename R, class T, typename A1, typename A2, typename A3, typename A4, R(T::*member)(A1, A2, A3, A4)>
@@ -305,7 +301,8 @@
 
     R res = (static_cast<T*>(this_ptr)->*member)(arg1, arg2, arg3, arg4);
     result->putData<R>(res);
-}//zaza
+}
+
 struct rpc_method {
     const char *name;
     typedef void (*method_caller_t)(RPC*, Arguments*, Reply*);