Skip to content

Commit

Permalink
Merge pull request #258 from amitesh-singh/ami/fix_gpio
Browse files Browse the repository at this point in the history
examples/direct gpio: remove count variable
  • Loading branch information
cnlohr authored Dec 21, 2023
2 parents f1820f2 + bb80768 commit 2fa932a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/direct_gpio/direct_gpio.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include "ch32v003fun.h"
#include <stdio.h>

uint32_t count;

int main()
{
SystemInit();
Expand Down Expand Up @@ -41,7 +39,6 @@ int main()
GPIOC->OUTDR &= ~(1<<(4)); // CLEAR GPIO C4

Delay_Ms( 50 );
count++;
}
}

0 comments on commit 2fa932a

Please sign in to comment.