lpcmanager

Parents b60723fcb4a3
Children ce82f040a277
Bug fix: syntax of conditional define for preprocessor was incorrect.
--- a/LPCBus/MC9_OnBoard_init.c Mon Dec 12 14:49:21 2016 +0100
+++ b/LPCBus/MC9_OnBoard_init.c Tue Dec 13 09:36:05 2016 +0100
@@ -36,9 +36,9 @@
if(rt_task_start(&RTU_task, mbmrtu_BusUpdate_proc, NULL))
return err;
-#ifdef MC9
+#if defined MC9
RUN_LED_dev = gpio_open(45);
-#elif GOT
+#elif defined GOT
RUN_LED_dev = gpio_open(63);
#endif /* MC9/GOT */
gpio_set_pin_value(RUN_LED_dev, 0);