Skip to content

Commit

Permalink
[ci][bsp] Fix apm32/apm32f030r8-miniboard bsp compilation error modify
Browse files Browse the repository at this point in the history
  • Loading branch information
hydevcode committed Sep 25, 2024
1 parent c12d7cb commit 4db8c88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bsp/apm32/apm32f030r8-miniboard/applications/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@

int main(void)
{
int count = 1;
/* set LED2 pin mode to output */
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);

while (count++< 10)
while (1)
{
rt_pin_write(LED2_PIN, PIN_HIGH);
rt_thread_mdelay(500);
Expand Down

0 comments on commit 4db8c88

Please sign in to comment.