Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Neyzoter committed May 6, 2019
1 parent 21299be commit c155b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HARDWARE/QUEUE/queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define MAX_TEST_NAME_LENGTH 64 /*!< 测试名称最长长度>*/
#define PACKAGE_TIME_IO_LENGTH 16 /*!< 时间、IO、ADC数量等长度>*/
#define PACKAGE_HEAD_FRAME_LENGTH (MAX_TEST_NAME_LENGTH+PACKAGE_TIME_IO_LENGTH) /*!< 帧头总长度>*/
#define DEFAULT_TEST_NAME "DefaultName/2019-03-09\0" /*!< 默认测试名称>*/
#define DEFAULT_TEST_NAME "DefaultName/2019-03-09T00:00:00\0" /*!< 默认测试名称>*/
/**
* @}
*/
Expand Down
2 changes: 1 addition & 1 deletion HARDWARE/WIFI/userwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
u32 SYSTEMTIME = 0; //系统时间
u32 YYMMDD =0; //年月日
u8 Time_Sync_Flag = 0; //最近时钟是否同步
volatile u8 Wifi_Send_EN = 1; //数据采集和发送使能,是CAN和ADC采集的总开关
volatile u8 Wifi_Send_EN = 0; //数据采集和发送使能,是CAN和ADC采集的总开关
u8 CAN_Get_EN = CAN1_ENABLE_BIT_SLC|CAN2_ENABLE_BIT_SLC; //CAN数据发送使能(第0位使能can1,第1位使能can2),默认开启(必须满足Wifi_Send_EN=1,才能采集)
u8 ADC_Get_EN = 1; //ADC数据采集使能,默认开启(必须满足Wifi_Send_EN=1,才能采集)
Queue adc_queue; //ADC数据存储
Expand Down

0 comments on commit c155b48

Please sign in to comment.