diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-05-03 20:54:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 20:54:33 +0200 |
commit | 0f64fdf573f098a98c178bb1b64571b577d5aa33 (patch) | |
tree | 71efa5f68773499cb2d878d4c6bd61b59369e70b | |
parent | dc93d5805a42511aa32ad947e97de2495289d87f (diff) | |
parent | 08d2c6348573fa97743ab07beacb915887016214 (diff) | |
download | icestorm-0f64fdf573f098a98c178bb1b64571b577d5aa33.tar.gz icestorm-0f64fdf573f098a98c178bb1b64571b577d5aa33.tar.bz2 icestorm-0f64fdf573f098a98c178bb1b64571b577d5aa33.zip |
Merge pull request #80 from set-soft/less_latency
Reduced the timer latency to 1 (minimum allowed) some users are repor…
-rw-r--r-- | iceprog/iceprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iceprog/iceprog.c b/iceprog/iceprog.c index 5bb7ed1..5db6dc9 100644 --- a/iceprog/iceprog.c +++ b/iceprog/iceprog.c @@ -464,8 +464,8 @@ int main(int argc, char **argv) error(); } - /* 2 is the ideal value, it means 500 Hz polling */ - if (ftdi_set_latency_timer(&ftdic, 2) < 0) { + /* 1 is the fastest polling, it means 1 kHz polling */ + if (ftdi_set_latency_timer(&ftdic, 1) < 0) { fprintf(stderr, "Failed to set latency timer (%s).\n", ftdi_get_error_string(&ftdic)); error(); } |