Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bsp][rsoc] Fix compilation issues with bsp of apm32 series #9468

Merged
merged 3 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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++)
while (1)
{
rt_pin_write(LED2_PIN, PIN_HIGH);
rt_thread_mdelay(500);
Expand Down
3 changes: 1 addition & 2 deletions bsp/apm32/apm32f051r8-evalboard/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(LED1_PIN, PIN_MODE_OUTPUT);

while (count++)
while (1)
{
rt_pin_write(LED1_PIN, PIN_HIGH);
rt_thread_mdelay(500);
Expand Down
Loading