diff options
Diffstat (limited to 'cortex-m-rt/examples/data_overflow.rs')
-rw-r--r-- | cortex-m-rt/examples/data_overflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/examples/data_overflow.rs b/cortex-m-rt/examples/data_overflow.rs index ea48b23..a84ec12 100644 --- a/cortex-m-rt/examples/data_overflow.rs +++ b/cortex-m-rt/examples/data_overflow.rs @@ -13,11 +13,11 @@ use core::ptr; use rt::entry; // This large static array uses most of .rodata -static RODATA: [u8; 48*1024] = [1u8; 48*1024]; +static RODATA: [u8; 48 * 1024] = [1u8; 48 * 1024]; // This large mutable array causes .data to use the rest of FLASH // without also overflowing RAM. -static mut DATA: [u8; 16*1024] = [1u8; 16*1024]; +static mut DATA: [u8; 16 * 1024] = [1u8; 16 * 1024]; #[entry] fn main() -> ! { |