Remove comment about equal erase size requirement

This commit is contained in:
Rasmus Melchior Jacobsen 2023-04-04 21:43:18 +02:00
parent 53efb02900
commit 78e6b4d261

View File

@ -31,8 +31,6 @@ where
} }
/// Trait defining the flash handles used for active and DFU partition. /// Trait defining the flash handles used for active and DFU partition.
/// The ACTIVE and DFU erase sizes must be equal. If this is not the case, then consider adding an adapter for the
/// smallest flash to increase its erase size such that they match. See e.g. [`crate::large_erase::LargeErase`].
pub trait FlashConfig { pub trait FlashConfig {
/// The erase value of the state flash. Typically the default of 0xFF is used, but some flashes use a different value. /// The erase value of the state flash. Typically the default of 0xFF is used, but some flashes use a different value.
const STATE_ERASE_VALUE: u8 = 0xFF; const STATE_ERASE_VALUE: u8 = 0xFF;