Merge pull request #182 from chenxiaolong/payload

payload: Bump maximum manifest size to 4 MiB
This commit is contained in:
Andrew Gunnerson
2023-10-04 17:51:51 -04:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ use crate::{
const OTA_MAGIC: &[u8; 4] = b"CrAU";
const OTA_HEADER_SIZE: usize = OTA_MAGIC.len() + 8 + 8 + 4;
const MANIFEST_MAX_SIZE: usize = 1024 * 1024;
const MANIFEST_MAX_SIZE: usize = 4 * 1024 * 1024;
#[derive(Debug, Error)]
pub enum Error {