PX4 Firmware
PX4 Autopilot Software http://px4.io
cdev_platform.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <inttypes.h>
5 
6 #include <nuttx/arch.h>
7 
8 #include <px4_platform_common/micro_hal.h>
9 
10 #define ATOMIC_ENTER irqstate_t flags = px4_enter_critical_section()
11 #define ATOMIC_LEAVE px4_leave_critical_section(flags)
12 
13 namespace cdev
14 {
15 
17 using file_t = struct file;
18 
19 } // namespace cdev
Definition: CDev.cpp:47
struct @83::@85::@87 file