Skip to content
Snippets Groups Projects
Commit bb807685 authored by Amitesh Singh's avatar Amitesh Singh
Browse files

examples/direct gpio: remove count variable


count variable does not do anything

Signed-off-by: default avatarAmitesh Singh <singh.amitesh@gmail.com>
parent f1820f29
No related branches found
No related tags found
No related merge requests found
#include "ch32v003fun.h" #include "ch32v003fun.h"
#include <stdio.h> #include <stdio.h>
uint32_t count;
int main() int main()
{ {
SystemInit(); SystemInit();
...@@ -41,7 +39,6 @@ int main() ...@@ -41,7 +39,6 @@ int main()
GPIOC->OUTDR &= ~(1<<(4)); // CLEAR GPIO C4 GPIOC->OUTDR &= ~(1<<(4)); // CLEAR GPIO C4
Delay_Ms( 50 ); Delay_Ms( 50 );
count++;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment