clkHZ: be more generic

This commit is contained in:
Gwenhael Goavec-Merou
2021-06-12 08:40:40 +02:00
parent 6c3fb2559d
commit b5f2506fd1
6 changed files with 11 additions and 2 deletions
+2
View File
@@ -145,6 +145,8 @@ int AnlogicCable::setClkFreq(uint32_t clkHZ)
printWarn("Jtag frequency : requested " + std::to_string(req_freq) +
"Hz -> real " + std::to_string(clkHZ) + "Hz");
_clkHZ = clkHZ;
return clkHZ;
}