Skip to content
Snippets Groups Projects
Commit a40e1ea2 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

sdlog2: Properly handle pragma

parent 623ef6d6
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment