From ea6cf27ed9bb67a1f9441f8c4d3f5841a5182b67 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 6 May 2022 14:43:29 +0800 Subject: [PATCH] fix PDDB length field -- somehow this got flipped from the debug branch --- services/pddb/src/api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/pddb/src/api.rs b/services/pddb/src/api.rs index d6fdd4163..cd9e1c59e 100644 --- a/services/pddb/src/api.rs +++ b/services/pddb/src/api.rs @@ -39,8 +39,8 @@ pub(crate) const PDDB_VERSION: u32 = 0x00_00_02_01; #[allow(dead_code)] // PDDB_A_LEN may be shorter than xous::PDDB_LEN, to speed up testing. #[allow(dead_code)] -// pub(crate) const PDDB_A_LEN: usize = xous::PDDB_LEN as usize; -pub(crate) const PDDB_A_LEN: usize = 4 * 1024 * 1024; +pub(crate) const PDDB_A_LEN: usize = xous::PDDB_LEN as usize; +// pub(crate) const PDDB_A_LEN: usize = 4 * 1024 * 1024; /// range for the starting point of a journal number, picked from a random seed /// the goal is to reduce info leakage about the age of structures relative to each other