Skip to content

Commit

Permalink
update magic
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Apr 29, 2024
1 parent 6b2605a commit ab6a9d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct MetaHeader {
}

unsafe impl page::Header for MetaHeader {
const MAGIC: u32 = 0x1d81bcdc;
const MAGIC: u32 = 0x1d81bcde;
}

#[derive(Clone, Copy, PartialEq, Eq, Debug)]
Expand All @@ -49,7 +49,7 @@ pub struct DataHeader {
}

unsafe impl page::Header for DataHeader {
const MAGIC: u32 = 0x7fcbf35c;
const MAGIC: u32 = 0x7fcbf35d;
}

#[derive(Clone, Copy, PartialEq, Eq, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::errors::Error;
use crate::flash::Flash;
use crate::types::PageID;

const CHUNK_MAGIC: u16 = 0x59C4;
const CHUNK_MAGIC: u16 = 0x59C5;

#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[repr(C)]
Expand Down

0 comments on commit ab6a9d4

Please sign in to comment.