• This project
    • Loading...
  • Sign in

2021-1-capstone-design1 / JJS_Project2

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • JJS_Project2
  • ..
  • nuttx
  • cdev_platform.hpp
  • 이재용's avatar
    upload px4 source & 13week report & meeting report(May) · 4e1b7761
    4e1b7761
    이재용 authored 2021-05-31 21:37:01 +0900
cdev_platform.hpp 353 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

#pragma once

#include <inttypes.h>

#include <nuttx/arch.h>

#include <px4_platform_common/micro_hal.h>

#define ATOMIC_ENTER irqstate_t flags = px4_enter_critical_section()
#define ATOMIC_LEAVE px4_leave_critical_section(flags)

namespace cdev
{

using px4_file_operations_t = struct file_operations;
using file_t = struct file;

} // namespace cdev