move to tab indentaion

This commit is contained in:
2022-01-31 21:13:27 +01:00
parent 8f5431fbc3
commit 074c832b3a
9 changed files with 311 additions and 311 deletions

View File

@ -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));}