fp

Dependencies:   libmDot-mbed5 ISL29011

Revision:
1:c4915e00d2ce
Parent:
0:a151a6350d7f
Child:
2:ffac7b141b72
diff -r a151a6350d7f -r c4915e00d2ce examples/src/dot_util.cpp
--- a/examples/src/dot_util.cpp	Wed Oct 05 21:07:50 2016 +0000
+++ b/examples/src/dot_util.cpp	Thu Oct 06 14:49:35 2016 +0000
@@ -7,7 +7,9 @@
     logInfo("---------------------");
     logInfo("\tdevice ID/EUI:           %s", mts::Text::bin2hexString(dot->getDeviceId()).c_str());
     logInfo("\tfrequency band:          %s", mDot::FrequencyBandStr(dot->getFrequencyBand()).c_str());
-    logInfo("\tfrequency sub band:      %u", dot->getFrequencySubBand());
+    if (dot->getFrequencySubBand() != mDot::EU868) {
+        logInfo("\tfrequency sub band:      %u", dot->getFrequencySubBand());
+    }
     logInfo("\tpublic network:          %s", dot->getPublicNetwork() == true ? "on" : "off");
     logInfo("credentials configuration");
     logInfo("-------------------------");