diff options
| author | WuKaiLi <[email protected]> | 2021-09-05 21:23:21 +0800 |
|---|---|---|
| committer | WuKaiLi <[email protected]> | 2021-09-05 21:23:21 +0800 |
| commit | c55c964ba42533ccb4fa0f0f84278e0e9569f3fb (patch) | |
| tree | 593a441a6aedbe7e02c53d7a4a992ce7f85c14f0 /bsp | |
| parent | 3ac58b8577b61b7c1384fd38d84a828db009c518 (diff) | |
解决 LED0 OR LED2
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/apm32/apm32f103xe-minibroard/applications/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/apm32/apm32f103xe-minibroard/applications/main.c b/bsp/apm32/apm32f103xe-minibroard/applications/main.c index 64250f9010..a592ea4f88 100644 --- a/bsp/apm32/apm32f103xe-minibroard/applications/main.c +++ b/bsp/apm32/apm32f103xe-minibroard/applications/main.c @@ -12,12 +12,12 @@ #include <rtdevice.h> #include <board.h> -/* defined the LED0 pin: PC0 */ +/* defined the LED2 pin: PE6 */ #define LED2_PIN GET_PIN(E, 6) int main(void) { - /* set LED0 pin mode to output */ + /* set LED2 pin mode to output */ rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT); while (1) |
