summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-11-26 20:12:46 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-11-26 20:12:59 -0500
commit6b348d7f75447259483edad3a8fb8da446f1aa93 (patch)
tree58190b98cfe8911f1208f861924188ffe5533dd5
parent88a1d902360cf2401ad40a3c27cafff2e991a3cf (diff)
downloadrockbox-6b348d7f75.tar.gz
rockbox-6b348d7f75.zip
Fix nano2g build from 88a1d902
Change-Id: I7f760ce84a2b8e8f5b118b7fe3b57c64d0f4af05
-rw-r--r--apps/plugins/crypt_firmware.c2
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);
}