From 08d2c6348573fa97743ab07beacb915887016214 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 3 May 2017 12:57:22 -0300 Subject: Reduced the timer latency to 1 (minimum allowed) some users are reporting better results --- iceprog/iceprog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iceprog') 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(); } -- cgit v1.2.3