Skip to content
Snippets Groups Projects
Unverified Commit 2fa932a6 authored by CNLohr's avatar CNLohr Committed by GitHub
Browse files

Merge pull request #258 from amitesh-singh/ami/fix_gpio

examples/direct gpio: remove count variable
parents f1820f29 bb807685
No related branches found
No related tags found
No related merge requests found
#include "ch32v003fun.h"
#include <stdio.h>
uint32_t count;
int main()
{
SystemInit();
......@@ -41,7 +39,6 @@ int main()
GPIOC->OUTDR &= ~(1<<(4)); // CLEAR GPIO C4
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