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

@@ -113,7 +113,7 @@ mraa_aio_init(unsigned int aio)
syslog(LOG_ERR, "aio: requested channel out of range");
return NULL;
}
if (board->pins[pin].capabilites.aio != 1) {
if (board->pins[pin].capabilities.aio != 1) {
syslog(LOG_ERR, "aio: pin %i not capable of aio", pin);
return NULL;
}