Private
Public Access
2
0

uart: use const char* instead of plain char*

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2015-01-20 16:22:04 +00:00
parent 9cfbc87924
commit 25bd897ec5
6 changed files with 8 additions and 34 deletions

View File

@@ -149,7 +149,7 @@ typedef struct {
unsigned int index; /**< ID as exposed in the system */
int rx; /**< uart rx */
int tx; /**< uart tx */
char* device_path; /**< To store "/dev/ttyS1" for example */
const char* device_path; /**< To store "/dev/ttyS1" for example */
/*@}*/
} mraa_uart_dev_t;