fix build error with softwareserial lib
This commit is contained in:
1 parent
6ee2212913
commit
ff8808306b
1 file changed
+1
-1
@@ -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 )
|
||||
|
||||
|
||||
Reference in new issue
Block a user