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:
Mihai Tudor Panu 2015-08-13 15:18:43 -07:00
parent 018e09e5b2
commit 11f9154ce0
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ bool GROVESCAM::doCapture()
return true;
}
bool GROVESCAM::storeImage(char *fname)
bool GROVESCAM::storeImage(const char *fname)
{
if (!fname)
{

View File

@ -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