We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9753933 commit 7f0b00eCopy full SHA for 7f0b00e
components/wear_levelling/private_include/WL_Config.h
@@ -38,6 +38,8 @@ typedef struct WL_Config_s {
38
}
39
} wl_config_t;
40
41
-_Static_assert((sizeof(wl_config_t) % 16) == 0, "Size of wl_config_t structure should be compatible with flash encryption");
+#ifndef _MSC_VER // MSVS has different format for this define
42
+static_assert(sizeof(wl_config_t) % 16 == 0, "Size of wl_config_t structure should be compatible with flash encryption");
43
+#endif // _MSC_VER
44
45
#endif // _WL_Config_H_
0 commit comments