ftdi: drop divide_by_5 param, now it's automatically set/unset according to the frequency. Better freq display

This commit is contained in:
Gwenhael Goavec-Merou
2021-02-19 07:07:10 +01:00
parent 5f9a8835da
commit 7cc5676e8e
10 changed files with 41 additions and 31 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ Gowin::Gowin(Jtag *jtag, const string filename, Device::prog_type_t prg_type,
throw std::runtime_error("incompatible file format");
}
}
_jtag->setClkFreq(2500000, 0);
_jtag->setClkFreq(2500000);
/* erase and program flash differ for GW1N1 */
if (idCode() == 0x0900281B)