uart: result of mraa_uart_get_dev_path is a const

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Brendan Le Foll
2015-06-02 14:41:13 +01:00
committed by Mihai Tudor Panu
parent 3587162611
commit d6ce082274
7 changed files with 7 additions and 7 deletions

View File

@ -50,7 +50,7 @@ GROVESCAM::GROVESCAM(int uart, uint8_t camAddr)
}
// This requires a recent MRAA (1/2015)
char *devPath = mraa_uart_get_dev_path(m_uart);
const char *devPath = mraa_uart_get_dev_path(m_uart);
if (!devPath)
{