Skip to content

Commit 73c3f03

Browse files
Add Doc Comment To CAPACITY const
1 parent 5cbdf6a commit 73c3f03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hal/src/efc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ pub const BASE_ADDRESS: u32 = 0x00400000;
3232
///The Capacity in bytes of the Flash Memory.
3333
#[cfg(feature = "flash-2M")]
3434
pub const CAPACITY: u32 = 0x00200000;
35+
///The Capacity in bytes of the Flash Memory.
3536
#[cfg(feature = "flash-1M")]
3637
pub const CAPACITY: u32 = 0x00100000;
38+
///The Capacity in bytes of the Flash Memory.
3739
#[cfg(feature = "flash-512K")]
3840
pub const CAPACITY: u32 = 0x00080000;
3941
/// The Size in bytes of a page in the Flash Memory.

0 commit comments

Comments
 (0)