Private
Public Access
2
0

mraa: Correct spelling of capabilities

Type was correctly spelt, but the member in the platform strut was not.
My mistake from 2014.

Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2016-08-08 21:44:00 +02:00
parent 29be2b64c0
commit fce4daab02
23 changed files with 574 additions and 574 deletions

View File

@@ -151,7 +151,7 @@ mraa_gpio_init(int pin)
syslog(LOG_ERR, "gpio: init: pin %i beyond platform pin count (%i)", pin, board->phy_pin_count);
return NULL;
}
if (board->pins[pin].capabilites.gpio != 1) {
if (board->pins[pin].capabilities.gpio != 1) {
syslog(LOG_ERR, "gpio: init: pin %i not capable of gpio", pin);
return NULL;
}