diff --git a/os/hal/boards/HT_HT32F1653_4/board.h b/os/hal/boards/HT_HT32F1653_4/board.h index 29f6e3cd7f..b414dc3cba 100644 --- a/os/hal/boards/HT_HT32F1653_4/board.h +++ b/os/hal/boards/HT_HT32F1653_4/board.h @@ -124,7 +124,7 @@ #define PIN_ODR_PUSHPULL(n) (0U << (n)) #define PIN_ODR_OPENDRAIN(n) (1U << (n)) #define PIN_DRVR_4MA(n) (0U << (n)) -#define PIN_DRVR_8MA(n) (0U << (n)) +#define PIN_DRVR_8MA(n) (1U << (n)) #define PIN_AFIO_AF(n, v) ((v) << (((n) % 8U) * 4U)) /* diff --git a/os/hal/boards/HT_HT32F1655_6/board.h b/os/hal/boards/HT_HT32F1655_6/board.h index fe9ec9c876..52ef5709d4 100644 --- a/os/hal/boards/HT_HT32F1655_6/board.h +++ b/os/hal/boards/HT_HT32F1655_6/board.h @@ -141,7 +141,7 @@ #define PIN_ODR_PUSHPULL(n) (0U << (n)) #define PIN_ODR_OPENDRAIN(n) (1U << (n)) #define PIN_DRVR_4MA(n) (0U << (n)) -#define PIN_DRVR_8MA(n) (0U << (n)) +#define PIN_DRVR_8MA(n) (1U << (n)) #define PIN_AFIO_AF(n, v) ((v) << (((n) % 8U) * 4U)) /* diff --git a/os/hal/boards/HT_HT32F52342_52/board.h b/os/hal/boards/HT_HT32F52342_52/board.h index bcbef1902f..2cca557957 100644 --- a/os/hal/boards/HT_HT32F52342_52/board.h +++ b/os/hal/boards/HT_HT32F52342_52/board.h @@ -124,7 +124,7 @@ #define PIN_ODR_PUSHPULL(n) (0U << (n)) #define PIN_ODR_OPENDRAIN(n) (1U << (n)) #define PIN_DRVR_4MA(n) (0U << (n)) -#define PIN_DRVR_8MA(n) (0U << (n)) +#define PIN_DRVR_8MA(n) (1U << (n)) #define PIN_AFIO_AF(n, v) ((v) << (((n) % 8U) * 4U)) /*