Parent Directory | Revision Log | Patch
revision 1.1 by mocchiut, Fri May 19 13:15:50 2006 UTC | revision 1.2 by mocchiut, Wed Sep 23 12:36:20 2009 UTC | |
---|---|---|
# | Line 3 | Line 3 |
3 | int delay(int selftrig){ | int delay(int selftrig){ |
4 | int i; | int i; |
5 | i = 0; | i = 0; |
6 | int del = 300; | int del = 200; |
7 | // | // |
8 | while ((i < 16) && ((selftrig & (0x8000>>i)) == 0)) { | while ((i < 16) && ((selftrig & (0x8000>>i)) == 0)) { |
9 | del += 50; | del += 50; |
10 | i++; | i++; |
11 | }; | }; |
12 | if (i > 15) del = 1100; | if (i > 15) del = 1000; |
13 | return(del); | return(del); |
14 | } | } |
15 | ||
16 |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |