move to tab indentaion
This commit is contained in:
parent
8f5431fbc3
commit
074c832b3a
9 changed files with 311 additions and 311 deletions
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
inline void writePin(volatile unsigned char *port, const unsigned char pin, const bool state) //waste 2 cycles
|
||||
{
|
||||
*port &= ~(1 << pin);
|
||||
if(state) *port |= (1 << pin);
|
||||
*port &= ~(1 << pin);
|
||||
if(state) *port |= (1 << pin);
|
||||
}
|
||||
|
||||
inline bool readPin( volatile unsigned char *inPort, const unsigned char pin){ return (bool) (*inPort & (1 << pin));}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue