Skip to content

Commit 9c3acc6

Browse files
committed
fix
1 parent 6d0732e commit 9c3acc6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

bsp/nxp/mcx/mcxa/Libraries/drivers/drv_pin.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <rtdevice.h>
1818

1919
#define GET_PINS(PORTx, PINx) (32 * PORTx + PINx)
20-
2120
extern int rt_hw_pin_init(void);
2221

2322
#endif /* __DRV_PIN_H__ */

bsp/nxp/mcx/mcxa/frdm-mcxa346/applications/arduino_pinout/pins_arduino.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const pin_map_t pin_map_table[]=
2727
{D1, GET_PINS(2,2), "uart2"}, /* Serial2-TX */
2828
{D2, GET_PINS(3,31)},
2929
{D3, GET_PINS(3,14), "pwm1", 1}, /* PWM */
30-
{D4, GET_PINS(4,7)},
30+
{D4, GET_PINS(4,7)},
3131
{D5, GET_PINS(3,1), "pwm0", 0}, /* PWM */
3232
{D6, GET_PINS(3,17), "pwm1", 0}, /* PWM */
3333
{D7, GET_PINS(3,22)},

bsp/nxp/mcx/mcxa/frdm-mcxa346/applications/arduino_pinout/pins_arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
* Change Logs:
77
* Date Author Notes
88
* 2025-12-08 westcity-yolo first version
9-
*
9+
*
1010
*/
1111

1212
#ifndef Pins_Arduino_h
1313
#define Pins_Arduino_h
1414

15-
15+
1616

1717
/* pins alias. Must keep in sequence */
1818
#define D0 (0)

0 commit comments

Comments
 (0)