From: Jeremy Tan Date: Fri, 27 Sep 2013 06:47:51 +0000 (+0800) Subject: Fix minor typo X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=051463f3ff5ea6c59288846797ce87defda135bc;p=matches%2FMCTX3420.git Fix minor typo --- diff --git a/server/bbb_pin.c b/server/bbb_pin.c index db18f69..f351f53 100644 --- a/server/bbb_pin.c +++ b/server/bbb_pin.c @@ -316,7 +316,7 @@ bool GPIO_Set(int pin, bool value) } GPIO_Pin *gpio = &g_gpio[g_pin_gpio_to_index[pin]]; - if (gpio->initialised) + if (!gpio->initialised) { AbortBool("GPIO %d is not initialised.", pin); }