فهرست منبع

Increase sleep/wake detection threshold... might want to switch to using native interfaces to really detect this in the future since this is not 100% reliable.

Adam Ierymenko 11 سال پیش
والد
کامیت
f5cbb45ab9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      node/Constants.hpp

+ 1 - 1
node/Constants.hpp

@@ -347,7 +347,7 @@
 /**
  * Delay sleep overshoot for detection of a probable sleep/wake event
  */
-#define ZT_SLEEP_WAKE_DETECTION_THRESHOLD 2000
+#define ZT_SLEEP_WAKE_DETECTION_THRESHOLD 5000
 
 /**
  * Time to pause main service loop after sleep/wake detect