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=5725205e01ba058ed114fea9f8ea81de76916d04;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); }