diff --git a/dummy/common/hal_gpio.h b/dummy/common/hal_gpio.h index aca1541..409b010 100644 --- a/dummy/common/hal_gpio.h +++ b/dummy/common/hal_gpio.h @@ -128,7 +128,7 @@ \ static inline uint8_t HAL_GPIO_##name##_pin(void) \ { \ - return 0; \ + return ((HAL_GPIO_PORT##port << 5) | (pin & 0x1f)); \ (void)HAL_GPIO_##name##_pin; \ } \ \