sdlog2: Properly handle pragma

This commit is contained in:
Lorenz Meier
2016-05-13 10:35:07 +02:00
parent 623ef6d67c
commit a40e1ea269
+1 -1
View File
@@ -629,11 +629,11 @@ struct log_PARM_s {
char name[16];
float value;
};
#pragma pack(pop)
// the lower type of initialisation is not supported in C++
#ifndef __cplusplus
#pragma pack(pop)
/* construct list of all message formats */
static const struct log_format_s log_formats[] = {
/* business-level messages, ID < 0x80 */