forked from Archive/PX4-Autopilot
Allow to get access to dev name
This commit is contained in:
parent
2effc9a23d
commit
bf134e6979
|
@ -445,6 +445,13 @@ protected:
|
|||
*/
|
||||
virtual int unregister_class_devname(const char *class_devname, unsigned class_instance);
|
||||
|
||||
/**
|
||||
* Get the device name.
|
||||
*
|
||||
* @return the file system string of the device handle
|
||||
*/
|
||||
const char* get_devname() { return _devname; }
|
||||
|
||||
bool _pub_blocked; /**< true if publishing should be blocked */
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue