mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 05:43:33 +08:00
replace <cinttypes> with <inttypes.h>
- <cinttypes> isn't available in the NuttX c++ library
This commit is contained in:
@@ -65,7 +65,7 @@ struct_size, padding_end_size = add_padding_bytes(sorted_fields, search_path)
|
||||
topic_fields = ["%s %s" % (convert_type(field.type), field.name) for field in sorted_fields]
|
||||
}@
|
||||
|
||||
#include <cinttypes>
|
||||
#include <inttypes.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_defines.h>
|
||||
#include <uORB/topics/@(topic_name).h>
|
||||
|
||||
@@ -58,7 +58,7 @@ recv_topics = [s.short_name for idx, s in enumerate(spec) if scope[idx] == MsgSc
|
||||
#include "microRTPS_transport.h"
|
||||
#include "microRTPS_client.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <inttypes.h>
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
#include <pthread.h>
|
||||
|
||||
Reference in New Issue
Block a user