mirror of https://github.com/ARMmbed/mbed-os.git
Fixed missing #if in port_api.c
parent
1b4f6ae3c4
commit
4c1067b8b8
|
@ -36,6 +36,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if DEVICE_PORTIN || DEVICE_PORTOUT || DEVICE_PORTINOUT
|
||||||
|
|
||||||
#include "port_api.h"
|
#include "port_api.h"
|
||||||
#include "pinmap.h"
|
#include "pinmap.h"
|
||||||
|
|
||||||
|
@ -132,3 +134,5 @@ int port_read(port_t *obj)
|
||||||
{
|
{
|
||||||
return ((m_ports[obj->port]->IN) & obj->mask);
|
return ((m_ports[obj->port]->IN) & obj->mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // DEVICE_PORTIN || DEVICE_PORTOUT || DEVICE_PORTINOUT
|
Loading…
Reference in New Issue