mirror of https://github.com/YosysHQ/icestorm.git
Reduced the timer latency to 1 (minimum allowed) some users are reporting better results
This commit is contained in:
parent
dc93d5805a
commit
08d2c63485
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue