Skip to content

Commit 4f44d7f

Browse files
committed
psoc-edge/mphalport: Updated mp hal pin format.
Signed-off-by: jaenrig-ifx <enriquezgarcia.external@infineon.com>
1 parent a47631f commit 4f44d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/psoc-edge/mphalport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static inline mp_uint_t mp_hal_get_cpu_freq(void) {
5454
return 1000000; // 1 MHz, this is a placeholder value
5555
}
5656

57-
#define MP_HAL_PIN_FMT "%u"
57+
#define MP_HAL_PIN_FMT "%q"
5858
#define mp_hal_pin_obj_t const machine_pin_obj_t *
5959
#define mp_hal_get_pin_obj(o) machine_pin_get_pin_obj(o)
6060
#define mp_hal_pin_name(p) ((p)->name)

0 commit comments

Comments
 (0)