fix build error with softwareserial lib

This commit is contained in:
hathach committed 2018-11-06 16:43:21 +07:00
1 parent 6ee2212913
commit ff8808306b
1 file changed
+1 -1
+1 -1
View File
@@ -122,7 +122,7 @@ uint32_t setLoopStacksize(void);
#define digitalPinToBitMask(P) ( 1 << (P) )
//#define analogInPinToBit(P) ( )
#define portOutputRegister(port) ( &(port->OUT) )
#define portInputRegister(port) ( &(port->IN) )
#define portInputRegister(port) ( (volatile uint32_t*) &(port->IN) )
#define portModeRegister(port) ( &(port->DIR) )
#define digitalPinHasPWM(P) ( (P) > 1 )