Hide unnecessary debug message in normal mode
diff --git a/rmidevice/hiddevice.cpp b/rmidevice/hiddevice.cpp
index 1cef2e5..b81d70a 100755
--- a/rmidevice/hiddevice.cpp
+++ b/rmidevice/hiddevice.cpp
@@ -470,7 +470,9 @@
// However, it might have no action even we set this feature with specific value.
// Need FW team's help to query more information about the existence of functions.
if (!hasVendorDefineLIDMode) {
- fprintf(stdout, "no LID mode feature, return\n");
+ if (m_hasDebug) {
+ fprintf(stdout, "no LID mode feature, return\n");
+ }
return 0;
}