gowin: displays userCode only in verbose mode

This commit is contained in:
Gwenhael Goavec-Merou
2020-01-18 17:07:31 +01:00
parent 0e93774c88
commit 0aaf9e31bd
+2 -1
View File
@@ -128,7 +128,8 @@ void Gowin::programFlash()
return;
wr_rd(RELOAD, NULL, 0, NULL, 0);
wr_rd(NOOP, NULL, 0, NULL, 0);
printf("%08x\n", readUserCode());
if (_verbose)
printInfo("%08x\n", readUserCode());
}
void Gowin::program(unsigned int offset)