mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 10:13:33 +08:00
libevents: update submodule
And remove obsolete libevents_definitions.h
This commit is contained in:
@@ -45,7 +45,7 @@ static uint16_t event_sequence{events::initial_event_sequence};
|
||||
namespace events
|
||||
{
|
||||
|
||||
void send(EventType &event)
|
||||
void send(event_s &event)
|
||||
{
|
||||
event.timestamp = hrt_absolute_time();
|
||||
|
||||
|
||||
@@ -47,5 +47,5 @@
|
||||
|
||||
#define EVENTSIOCSEND _EVENTSIOC(1)
|
||||
typedef struct eventiocsend {
|
||||
events::EventType &event;
|
||||
event_s &event;
|
||||
} eventiocsend_t;
|
||||
|
||||
+1
-1
Submodule src/lib/events/libevents updated: 59f7f5c0ec...8d5c44661b
@@ -44,7 +44,7 @@
|
||||
namespace events
|
||||
{
|
||||
|
||||
void send(EventType &event)
|
||||
void send(event_s &event)
|
||||
{
|
||||
eventiocsend_t data = {event};
|
||||
boardctl(EVENTSIOCSEND, reinterpret_cast<unsigned long>(&data));
|
||||
|
||||
Reference in New Issue
Block a user