From 8e08dccdb8a74f6a514927b6c26a4e5fcea50a3c Mon Sep 17 00:00:00 2001 From: Vasily Davydov Date: Wed, 14 Sep 2022 14:17:25 +0300 Subject: [PATCH] esp-vent-main: try formatter action --- esp-vent-main/src/esp-vent-main.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/esp-vent-main/src/esp-vent-main.cpp b/esp-vent-main/src/esp-vent-main.cpp index b602ec6..c1485d8 100644 --- a/esp-vent-main/src/esp-vent-main.cpp +++ b/esp-vent-main/src/esp-vent-main.cpp @@ -36,16 +36,7 @@ int main(void) { #endif #endif - // TODO: insert code here - - // Force the counter to be placed into memory - volatile static int i = 0 ; - // Enter an infinite loop, just incrementing a counter - while(1) { - i++ ; - // "Dummy" NOP to allow source level single - // stepping of tight while() loop - __asm volatile ("nop"); - } + while(1) {} + return 0 ; }