gpio.c: Fixed typo
authorAlex Tereschenko <alext.mkrs@gmail.com>
Fri, 2 Oct 2015 21:44:10 +0000 (23:44 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 6 Oct 2015 13:40:57 +0000 (14:40 +0100)
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/gpio/gpio.c

index ffaac30..cdbb334 100644 (file)
@@ -235,7 +235,7 @@ mraa_gpio_interrupt_handler(void* arg)
 #ifdef SWIGPYTHON
             // In order to call a python object (all python functions are objects) we
             // need to aquire the GIL (Global Interpreter Lock). This may not always be
-            // nessecary but especially if doing IO (like print()) python will segfault
+            // necessary but especially if doing IO (like print()) python will segfault
             // if we do not hold a lock on the GIL
             PyGILState_STATE gilstate = PyGILState_Ensure();
             PyObject* arglist;