We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e1292 commit 4c49925Copy full SHA for 4c49925
1 file changed
lib/atcacert/atcacert_def.h
@@ -166,6 +166,10 @@ typedef struct ATCA_PACKED atcacert_cert_element_s
166
atcacert_transform_t transforms[ATCA_MAX_TRANSFORMS]; //!< List of transforms from device to cert for this element.
167
} atcacert_cert_element_t;
168
169
+#ifndef ATCA_NO_PRAGMA_PACK
170
+#pragma pack(pop)
171
+#endif
172
+
173
/**
174
* Defines a certificate and all the pieces to work with it.
175
*
@@ -208,10 +212,6 @@ typedef struct atcacert_build_state_s
208
212
uint8_t device_sn[9]; //!< Storage for the device SN, when it's found.
209
213
} atcacert_build_state_t;
210
214
211
-#ifndef ATCA_NO_PRAGMA_PACK
-#pragma pack(pop)
-#endif
-
215
// Inform function naming when compiling in C++
216
#ifdef __cplusplus
217
extern "C" {
0 commit comments