From dc1a63fbb07be718e4dc53d0359ab7b4f7551dd1 Mon Sep 17 00:00:00 2001 From: Kizarm Date: Sat, 17 Aug 2024 16:49:00 +0200 Subject: [PATCH] hello data on stack --- V203/hello/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V203/hello/main.cpp b/V203/hello/main.cpp index 14eb7e9..4c7397c 100644 --- a/V203/hello/main.cpp +++ b/V203/hello/main.cpp @@ -10,9 +10,9 @@ * */ #include "morse.h" ////////////////////////////////////// -static GpioClass led (GPIOA, 0); -static Morse morse (led, 100u); int main () { + GpioClass led (GPIOA, 0); + Morse morse (led, 100u); for (;;) { morse << "hello world"; }