mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-30 06:34:58 +03:00 
			
		
		
		
	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
					Brendan Le Foll
				
			
				
					committed by
					
						 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
			
				
	
			
			
			 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
						parent
						
							3587162611
						
					
				
				
					commit
					d6ce082274
				
			| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
| @@ -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) | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user