From f7bcbbf2d0800d9fcaca4fb1753c78b80dd35f85 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 31 Jan 2024 04:05:33 +0800 Subject: [PATCH] add FIXME note so we can find this spot later --- services/status/src/ecup.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/status/src/ecup.rs b/services/status/src/ecup.rs index a49b015ff..750ec880b 100644 --- a/services/status/src/ecup.rs +++ b/services/status/src/ecup.rs @@ -650,6 +650,7 @@ fn do_update( } fn validate_package(pkg: &[u8], pkg_type: PackageType) -> bool { + // FIXME: should be "wait for hardware" strategy but this does not exist in 0.10 API let mut hasher = sha2::Sha512_256::new(); let mut temp: [u8; 4] = Default::default(); temp.copy_from_slice(&pkg[0x20..0x24]);