changeset 237:fec9ee97f40f

wip
author Louis Opter <kalessin@kalessin.fr>
date Sun, 09 Aug 2015 03:39:25 -0700
parents acd38691efab
children 04c98657d057
files implement_some_metadata_packet_types.h
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/implement_some_metadata_packet_types.h	Sun Aug 09 03:25:17 2015 -0700
+++ b/implement_some_metadata_packet_types.h	Sun Aug 09 03:39:25 2015 -0700
@@ -472,11 +472,11 @@
  struct lgtd_lifx_gateway {
      LIST_ENTRY(lgtd_lifx_gateway)   link;
      struct lgtd_lifx_bulb_list      bulbs;
-+#define LGTD_LIFX_GATEWAY_GET_BULB_OR_RETURN(b, gw, bulb_addr)  do {     \
-+    (b) = lgtd_lifx_gateway_get_or_open_bulb((gw), (bulb_addr));    \
-+    if (!(b)) {                                                     \
-+        return;                                                     \
-+    }                                                               \
++#define LGTD_LIFX_GATEWAY_GET_BULB_OR_RETURN(b, gw, bulb_addr)  do {    \
++    (b) = lgtd_lifx_gateway_get_or_open_bulb((gw), (bulb_addr));        \
++    if (!(b)) {                                                         \
++        return;                                                         \
++    }                                                                   \
 +} while (0)
      // Multiple gateways can share the same site (that happens when bulbs are
      // far away enough that ZigBee can't be used). Moreover the SET_PAN_GATEWAY