mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
sdlog2: Properly handle pragma
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user