... and here is the missing attachment :)

Francois
diff --git a/wispy_hw_dbx.c b/wispy_hw_dbx.c
index c51e6f7..964b89b 100644
--- a/wispy_hw_dbx.c
+++ b/wispy_hw_dbx.c
@@ -107,7 +107,7 @@
     uint16_t __x = (x); \
     ((uint16_t)( \
         (uint16_t)(((uint16_t)(__x) & (uint16_t)0x000000ff) << 24) | \
-        (uint16_t)(((uint16_t)(__x) & (uint16_t)0x0000ff00) << 8) | \
+        (uint16_t)(((uint16_t)(__x) & (uint16_t)0x0000ff00) << 8) )); \
 })
 
 /* Aux tracking struct for wispy1 characteristics */

Reply via email to