diff --git a/othersoft/calibration_console/Header_Files/ZZ_Types.h b/othersoft/calibration_console/Header_Files/ZZ_Types.h index a9e6177..22440e4 100644 --- a/othersoft/calibration_console/Header_Files/ZZ_Types.h +++ b/othersoft/calibration_console/Header_Files/ZZ_Types.h @@ -2,7 +2,6 @@ //类型说明文件 ////////////////////////////////////////////////////////////////////////// #pragma once -#pragma pack(1)//结构体按照1字节对齐存储 #include #include @@ -11,6 +10,8 @@ #define MAX_LINEARSHUTTER_POSITION 12 #define ZZ_Enum2String(x) #x +#pragma pack(1)//结构体按照1字节对齐存储 + namespace ZZ_MISCDEF { typedef unsigned char ZZ_U8;