From 7b213b6393c7fc893795aae9e71435c740ae9938 Mon Sep 17 00:00:00 2001 From: Henry Bruce Date: Tue, 10 Feb 2015 15:40:00 +0000 Subject: [PATCH] gpio.c: fix spelling in comment Signed-off-by: Henry Bruce Signed-off-by: Brendan Le Foll --- src/gpio/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpio/gpio.c b/src/gpio/gpio.c index 4cd3fad..ec7f897 100644 --- a/src/gpio/gpio.c +++ b/src/gpio/gpio.c @@ -155,7 +155,7 @@ mraa_gpio_wait_interrupt(int fd) pfd.fd = fd; pfd.events = POLLPRI; - // do an initial read to clear interupt + // do an initial read to clear interrupt lseek (fd, 0, SEEK_SET); read (fd, &c, 1); @@ -167,7 +167,7 @@ mraa_gpio_wait_interrupt(int fd) // poll is a cancelable point like sleep() int x = poll (&pfd, 1, -1); - // do a final read to clear interupt + // do a final read to clear interrupt read (fd, &c, 1); return MRAA_SUCCESS;