mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c
- Revision:
- 267:8673334f2cbe
- Parent:
- 150:49699a7d7064
diff -r 69e8a32876bd -r 8673334f2cbe targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c --- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c Thu Jul 24 12:00:06 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/port_api.c Tue Jul 29 18:45:06 2014 +0100 @@ -14,6 +14,9 @@ * limitations under the License. */ #include "port_api.h" + +#if DEVICE_PORTIN || DEVICE_PORTOUT + #include "pinmap.h" #include "gpio_api.h" @@ -67,3 +70,5 @@ int port_read(port_t *obj) { return (int)(gpio_hal_read_port_input((uint32_t)obj->port) & obj->mask); } + +#endif