diff --git a/src/drivers/device/device_nuttx.h b/src/drivers/device/device_nuttx.h index b36b58b4ad..c0c9487bfd 100644 --- a/src/drivers/device/device_nuttx.h +++ b/src/drivers/device/device_nuttx.h @@ -204,6 +204,8 @@ protected: sem_post(&_lock); } + DeviceId &get_device_id() { return _device_id; } + sem_t _lock; /**< lock to protect access to all class members (also for derived classes) */ private: