gowin: fix checksum header key typo

This commit is contained in:
Viktor P 2026-04-24 16:34:17 +03:00
parent 50e1ebe1c3
commit 2dc3ba37cd
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ void Gowin::checkCRC()
* is used, try to compare with this value * is used, try to compare with this value
*/ */
try { try {
std::string hdr = _fs->getHeaderVal("checkSum"); std::string hdr = _fs->getHeaderVal("CheckSum");
if (!hdr.empty()) { if (!hdr.empty()) {
if (ucode == strtol(hdr.c_str(), NULL, 16)) if (ucode == strtol(hdr.c_str(), NULL, 16))
goto success; goto success;