mirror of
https://github.com/eclipse/upm.git
synced 2025-03-28 03:10:06 +03:00
grovescam: made file path constant to remove compiler warnings
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
018e09e5b2
commit
11f9154ce0
@ -369,7 +369,7 @@ bool GROVESCAM::doCapture()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GROVESCAM::storeImage(char *fname)
|
bool GROVESCAM::storeImage(const char *fname)
|
||||||
{
|
{
|
||||||
if (!fname)
|
if (!fname)
|
||||||
{
|
{
|
||||||
|
@ -169,7 +169,7 @@ namespace upm {
|
|||||||
* @param fname Name of the file to write
|
* @param fname Name of the file to write
|
||||||
* @return True if successful
|
* @return True if successful
|
||||||
*/
|
*/
|
||||||
bool storeImage(char *fname);
|
bool storeImage(const char *fname);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the picture length. Note: this is only valid after
|
* Returns the picture length. Note: this is only valid after
|
||||||
|
Loading…
x
Reference in New Issue
Block a user