diff options
Diffstat (limited to 'iceprog/iceprog.c')
-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(); } |