diff --git a/os/hal/platforms/MSP430/pal_lld.h b/os/hal/platforms/MSP430/pal_lld.h index 954f6b5c2..3d2f0905d 100644 --- a/os/hal/platforms/MSP430/pal_lld.h +++ b/os/hal/platforms/MSP430/pal_lld.h @@ -139,7 +139,7 @@ typedef uint8_t ioportmask_t; * any assumption about it, use the provided macros when populating * variables of this type. */ -typedef union msp430_ioport_t *ioportid_t; +typedef msp430_ioport_t *ioportid_t; /*===========================================================================*/ /* I/O Ports Identifiers. */