mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
iridiumsbd cleanup unnecessary Device CDev usage
This commit is contained in:
@@ -57,7 +57,7 @@ IridiumSBD *IridiumSBD::instance;
|
|||||||
int IridiumSBD::task_handle;
|
int IridiumSBD::task_handle;
|
||||||
|
|
||||||
IridiumSBD::IridiumSBD()
|
IridiumSBD::IridiumSBD()
|
||||||
: CDev("iridiumsbd", IRIDIUMSBD_DEVICE_PATH)
|
: CDev(IRIDIUMSBD_DEVICE_PATH)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <drivers/device/device.h>
|
#include <lib/cdev/CDev.hpp>
|
||||||
#include <drivers/drv_hrt.h>
|
#include <drivers/drv_hrt.h>
|
||||||
|
|
||||||
#include <uORB/uORB.h>
|
#include <uORB/uORB.h>
|
||||||
@@ -98,7 +98,7 @@ extern "C" __EXPORT int iridiumsbd_main(int argc, char *argv[]);
|
|||||||
* - Improve TX buffer handling:
|
* - Improve TX buffer handling:
|
||||||
* - Do not reset the full TX buffer but delete the oldest HIGH_LATENCY2 message if one is in the buffer or delete the oldest message in general
|
* - Do not reset the full TX buffer but delete the oldest HIGH_LATENCY2 message if one is in the buffer or delete the oldest message in general
|
||||||
*/
|
*/
|
||||||
class IridiumSBD : public device::CDev
|
class IridiumSBD : public cdev::CDev
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user