gowin: fix checksum header key typo
This commit is contained in:
parent
50e1ebe1c3
commit
2dc3ba37cd
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue