mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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;
|
||||
}
|
||||
|
||||
bool GROVESCAM::storeImage(char *fname)
|
||||
bool GROVESCAM::storeImage(const char *fname)
|
||||
{
|
||||
if (!fname)
|
||||
{
|
||||
|
@ -169,7 +169,7 @@ namespace upm {
|
||||
* @param fname Name of the file to write
|
||||
* @return True if successful
|
||||
*/
|
||||
bool storeImage(char *fname);
|
||||
bool storeImage(const char *fname);
|
||||
|
||||
/**
|
||||
* Returns the picture length. Note: this is only valid after
|
||||
|
Loading…
x
Reference in New Issue
Block a user