diff --git a/src/grovescam/grovescam.cxx b/src/grovescam/grovescam.cxx index 828fbf46..6db79e92 100644 --- a/src/grovescam/grovescam.cxx +++ b/src/grovescam/grovescam.cxx @@ -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) { diff --git a/src/hm11/hm11.cxx b/src/hm11/hm11.cxx index 5569f6f6..e033eaf4 100644 --- a/src/hm11/hm11.cxx +++ b/src/hm11/hm11.cxx @@ -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) { diff --git a/src/hmtrp/hmtrp.cxx b/src/hmtrp/hmtrp.cxx index ce69335e..cfc0b6b5 100644 --- a/src/hmtrp/hmtrp.cxx +++ b/src/hmtrp/hmtrp.cxx @@ -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) { diff --git a/src/mhz16/mhz16.cxx b/src/mhz16/mhz16.cxx index 46826ff4..38b24714 100644 --- a/src/mhz16/mhz16.cxx +++ b/src/mhz16/mhz16.cxx @@ -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) { diff --git a/src/ublox6/ublox6.cxx b/src/ublox6/ublox6.cxx index 1fdbffc1..45e440f1 100644 --- a/src/ublox6/ublox6.cxx +++ b/src/ublox6/ublox6.cxx @@ -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) { diff --git a/src/wt5001/wt5001.cxx b/src/wt5001/wt5001.cxx index 14eb7a32..c192521e 100644 --- a/src/wt5001/wt5001.cxx +++ b/src/wt5001/wt5001.cxx @@ -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) { diff --git a/src/zfm20/zfm20.cxx b/src/zfm20/zfm20.cxx index 74a6891f..90f83517 100644 --- a/src/zfm20/zfm20.cxx +++ b/src/zfm20/zfm20.cxx @@ -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) {