X2D lib first commit

Revision:
13:345e4251cf25
Parent:
12:ce8ae07fd23b
Child:
15:2f74266340ac
--- a/X2D.h	Sun Nov 24 20:20:46 2019 +0000
+++ b/X2D.h	Sun Dec 01 14:35:25 2019 +0000
@@ -31,6 +31,11 @@
 }info_t;
 
 typedef struct {
+    char data[8];
+    int lenght;
+}msg_t;
+
+typedef struct {
     unsigned char zone;
     h_mode mode;
     bool fixed;
@@ -39,7 +44,7 @@
 
 
 
-void Init_X2D(info_t *message);
+void Init_X2D(void);
 //void TASK_RcvMessages(info_t *message);
 void SendCmd(int zone, h_mode prog);
 void write_ctrl_reg(unsigned long write_data);