From 78e85ce0854c803f23a4cb02da0efe9372bd8799 Mon Sep 17 00:00:00 2001 From: by Date: Mon, 27 Jul 2026 20:42:36 +0800 Subject: [PATCH] dfu: adapt to 0.17 API (CRC-32/JAMCRC rename) --- tools/dfu/src/dfu.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dfu/src/dfu.zig b/tools/dfu/src/dfu.zig index 43c0e5102..a15f73c61 100644 --- a/tools/dfu/src/dfu.zig +++ b/tools/dfu/src/dfu.zig @@ -46,7 +46,7 @@ pub const DfuWriter = struct { // The CRC algorithm used in DFU. // Like "standard" Crc32 but without the final xor with 0xffffffff. - const Hasher = std.hash.crc.Crc32Jamcrc; + const Hasher = std.hash.crc.@"CRC-32/JAMCRC"; out: *std.Io.Writer, hashed: std.Io.Writer.Hashed(Hasher),