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)
{

View File

@ -42,7 +42,7 @@ HM11::HM11(int uart)
}
// 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)
{

View File

@ -46,7 +46,7 @@ HMTRP::HMTRP(int uart)
}
// 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)
{

View File

@ -42,7 +42,7 @@ MHZ16::MHZ16(int uart)
}
// 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)
{

View File

@ -40,7 +40,7 @@ Ublox6::Ublox6(int uart)
}
// 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)
{

View File

@ -42,7 +42,7 @@ WT5001::WT5001(int uart)
}
// 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)
{

View File

@ -42,7 +42,7 @@ ZFM20::ZFM20(int uart)
}
// 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)
{