]> rtime.felk.cvut.cz Git - hydro.git/blobdiff - app-stefic/sensor/definitions.h
Repairs in code
[hydro.git] / app-stefic / sensor / definitions.h
index bece6063a26d5286237e8dbfff6212007fd5e6cf..61cfbf37b1a5ebbcb4b5c94e1c829b4b31e24954 100644 (file)
@@ -43,6 +43,8 @@ void long2buf(uchar *buf,unsigned long mod);
 void int2buf(uchar *buf,int mod);
 int buf2int(uchar *buf);
 
+uint buf2uint(uchar *buf);
+
 mstime_t current_time();
 void blink(void);
 
@@ -52,7 +54,7 @@ void heartbeat(void);
 void accept_SDO(void);
 void process_PDO(void);
 
-int take_cid(uchar* buf);
+uint take_cid(uchar* buf);
 int take_len(uchar* buf);
 int take_data(uchar* buf, int len);