dirtyJtag: update _clkHZ with current frequency

This commit is contained in:
Gwenhael Goavec-Merou 2021-06-20 16:28:46 +02:00
parent 8d20c09791
commit 0a7fd93a08
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ int DirtyJtag::setClkFreq(uint32_t clkHZ)
clkHZ = 16000000;
}
_clkHZ = clkHZ;
printInfo("Jtag frequency : requested " + std::to_string(req_freq) +
"Hz -> real " + std::to_string(clkHZ) + "Hz");