Open mjfryc opened 2 years ago
https://github.com/ArduCAM/MIPI_Camera/blob/704b4d69dd2013a6c2a1f0e29638b87b67ba91a7/RPI/arducam_mipicamera.h#L230
int arducam_set_lens_table(CAMERA_INSTANCE camera_instance, char* lens_table_path);
Does this function modify content of the parameter lens_table_path?
lens_table_path
If it doesn't, make it const char*.
const char*
If it modifies the parameter lens_table_path, describe how the path is modified.
This signature disallow putting const char* string without const_cast...
const_cast
https://github.com/ArduCAM/MIPI_Camera/blob/704b4d69dd2013a6c2a1f0e29638b87b67ba91a7/RPI/arducam_mipicamera.h#L230
Does this function modify content of the parameter
lens_table_path
?If it doesn't, make it
const char*
.If it modifies the parameter
lens_table_path
, describe how the path is modified.This signature disallow putting
const char*
string withoutconst_cast
...