1

Revision:
10:f94e325fc1e6
Parent:
8:95a914f962bd
--- a/DATA_COMMAND/data_command.h	Wed Feb 19 05:22:32 2020 +0000
+++ b/DATA_COMMAND/data_command.h	Thu Mar 12 15:17:18 2020 +0000
@@ -6,13 +6,18 @@
 #include "CAN.h"
 #include "used_leg_message.h"
 #include "mode.h"
-#define REST_MODE  0
+#define e_REST_MODE  0
+#define w_REST_MODE  4
+#define DUOJI_REST__MODE 5
 #define MOTOR_MODE 1
 #define ZERO_MODE  2
 #define DUOJI_MODE 3
+
 extern Serial      command;
 extern DigitalOut  sf_m_c;
-extern int state;
+extern int e_state;
+extern int w_state;
+extern int duoji_state;
 extern int send_enable;
 extern int enabled;
 extern int counter;
@@ -21,7 +26,7 @@
 extern float SP_ef, SP_wf;
 void serial_command_isr();
 void command_control();
-extern char data[2];
+extern char data[3];
 extern int data_num;