mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-02-03 19:42:18 +00:00
fix copypasta err
This commit is contained in:
parent
92e61650b2
commit
5372bfa0fe
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ fn main() -> ! {
|
||||||
|
|
||||||
#[inline(never)]
|
#[inline(never)]
|
||||||
fn spam() {
|
fn spam() {
|
||||||
// allocate and initialize one kilobyte of stack memory to provoke stack overflow
|
// allocate and initialize 4 kilobytes of stack memory to provoke stack overflow
|
||||||
let use_stack = [0xAA_u32; 1024];
|
let use_stack = [0xAA_u32; 1024];
|
||||||
|
|
||||||
log::info!(
|
log::info!(
|
||||||
|
|
Loading…
Reference in a new issue