diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-26 20:12:46 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-26 20:12:59 -0500 |
commit | 6b348d7f75447259483edad3a8fb8da446f1aa93 (patch) | |
tree | 58190b98cfe8911f1208f861924188ffe5533dd5 | |
parent | 88a1d902360cf2401ad40a3c27cafff2e991a3cf (diff) | |
download | rockbox-6b348d7f75.tar.gz rockbox-6b348d7f75.zip |
Fix nano2g build from 88a1d902
Change-Id: I7f760ce84a2b8e8f5b118b7fe3b57c64d0f4af05
-rw-r--r-- | apps/plugins/crypt_firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/crypt_firmware.c b/apps/plugins/crypt_firmware.c index dd8dcf3605..0d632befdb 100644 --- a/apps/plugins/crypt_firmware.c +++ b/apps/plugins/crypt_firmware.c @@ -110,7 +110,7 @@ static void calc_hash(uint32_t* data, uint32_t size, uint32_t* result) for (ptr = 0; ptr < (size >> 2); ptr += 0x10) { for (i = 0; i < 0x10; i++) SHA1DATAIN[i] = data[ptr + i]; - SHA1CONFIG = ctrl; + SHA1CONFIG = config; config = 0xA; while ((SHA1CONFIG & 1) != 0); } |