From bb8076858c628c17cd92c0f83ced82929f271313 Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Thu, 21 Dec 2023 11:11:24 +0530 Subject: [PATCH] examples/direct gpio: remove count variable count variable does not do anything Signed-off-by: Amitesh Singh --- examples/direct_gpio/direct_gpio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/direct_gpio/direct_gpio.c b/examples/direct_gpio/direct_gpio.c index 313ef15b..884b3c56 100644 --- a/examples/direct_gpio/direct_gpio.c +++ b/examples/direct_gpio/direct_gpio.c @@ -1,8 +1,6 @@ #include "ch32v003fun.h" #include -uint32_t count; - int main() { SystemInit(); @@ -41,7 +39,6 @@ int main() GPIOC->OUTDR &= ~(1<<(4)); // CLEAR GPIO C4 Delay_Ms( 50 ); - count++; } }