project de marde si tu touch le no-homo s'applique pas

Fork of XBeeLib by Digi International Inc.

Revision:
4:629712865107
Parent:
3:8662ebe83570
Child:
6:06522f3a6642
diff -r 8662ebe83570 -r 629712865107 IO/IOSampleZB.h
--- a/IO/IOSampleZB.h	Mon May 18 13:16:55 2015 +0200
+++ b/IO/IOSampleZB.h	Mon Jun 01 18:59:43 2015 +0200
@@ -54,7 +54,7 @@
          */
         inline bool is_valid()
         {
-            return _digital_mask == 0 && _analog_mask == 0;
+            return _digital_mask != 0 || _analog_mask != 0;
         }
 
     protected: