[libcamera-devel] [PATCH] libcamera: camera_sensor: Fix doxygen warning

Jean-Michel Hautbois jeanmichel.hautbois at ideasonboard.com
Fri Dec 3 12:11:44 CET 2021


Hi Laurent,

On 03/12/2021 12:07, Umang Jain wrote:
> Hi Laurent,
> 
> Thanks for the patch
> 
> On 12/3/21 4:35 PM, Laurent Pinchart wrote:
>> Commit ad2bcbe5b55c ("libcamera: camera_lens: add CameraLens as a member
>> of CameraSensor") incorrectly named the focusLens() function
>> "focusLens_" in the documentation, causing a doxygen warning. Fix it.
>>
>> Fixes: ad2bcbe5b55c ("libcamera: camera_lens: add CameraLens as a 
>> member of CameraSensor")
>> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> 
> 
> Reviewed-by: Umang Jain <umang.jain at ideasonboard.com>

Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois at ideasonboard.com>
> 
>> ---
>> Han-lin, could you please make sure to have a look for doxygen warnings
>> in future patches ? We'll also update our integration scripts to detect
>> them.
>> ---
>>   src/libcamera/camera_sensor.cpp | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/libcamera/camera_sensor.cpp 
>> b/src/libcamera/camera_sensor.cpp
>> index c89d39e1488c..4c142a5825f7 100644
>> --- a/src/libcamera/camera_sensor.cpp
>> +++ b/src/libcamera/camera_sensor.cpp
>> @@ -789,7 +789,7 @@ void CameraSensor::updateControlInfo()
>>   }
>>   /**
>> - * \fn CameraSensor::focusLens_()
>> + * \fn CameraSensor::focusLens()
>>    * \brief Retrieve the focus lens controller
>>    *
>>    * \return The focus lens controller. nullptr if no focus lens 
>> controller is
>>
>> base-commit: 3f881dbc338e8f24f478567ee890c1f36ccb8996


More information about the libcamera-devel mailing list