Merge pull request #652 from viktor-pd/master
gowin: fix checksum header key typo
This commit is contained in:
commit
7ec3e14a89
|
|
@ -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