[chronojump] Autodetection of encoder... try 100 times
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Autodetection of encoder... try 100 times
- Date: Wed, 29 Apr 2015 15:55:08 +0000 (UTC)
commit 285c1b59590ecfd1143501d1d0686481e6244163
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Apr 29 17:54:51 2015 +0200
Autodetection of encoder... try 100 times
src/chronopic.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chronopic.cs b/src/chronopic.cs
index 6289a56..5a7a557 100644
--- a/src/chronopic.cs
+++ b/src/chronopic.cs
@@ -556,7 +556,7 @@ public class ChronopicAutoCheckEncoder : ChronopicAuto
Found = ChronopicAutoDetect.ChronopicType.UNDETECTED;
char myByte;
- for(int i = 0; i < 20; i ++) //try 20 times (usually works 3-5 try)
+ for(int i = 0; i < 100; i ++) //try 100 times (usually works on Linux 3-5 try, Mac 8-10,
Windows don't work < 20... trying bigger numbers)
{
LogB.Debug("writting ...");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]