mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 02:00:36 +08:00
Added/moved namespaces in events module
This commit is contained in:
committed by
Beat Küng
parent
c684275018
commit
1982957bef
@@ -43,7 +43,10 @@
|
||||
#include "status_display.h"
|
||||
#include <drivers/drv_led.h>
|
||||
|
||||
using namespace status;
|
||||
namespace events
|
||||
{
|
||||
namespace status
|
||||
{
|
||||
|
||||
StatusDisplay::StatusDisplay(const events::SubscriberHandler &subscriber_handler)
|
||||
: _subscriber_handler(subscriber_handler)
|
||||
@@ -106,3 +109,6 @@ void StatusDisplay::publish()
|
||||
_led_control_pub = orb_advertise_queue(ORB_ID(led_control), &_led_control, LED_UORB_QUEUE_LENGTH);
|
||||
}
|
||||
}
|
||||
|
||||
} /* namespace status */
|
||||
} /* namespace events */
|
||||
|
||||
Reference in New Issue
Block a user