mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 06:29:15 +00:00
format code according to conventions [skip ci]
This commit is contained in:
parent
d26a14c169
commit
231464c49c
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ typedef uint8_t pin_t;
|
||||||
|
|
||||||
# define readPin(pin) ((bool)(PINx_ADDRESS(pin) & _BV((pin)&0xF)))
|
# define readPin(pin) ((bool)(PINx_ADDRESS(pin) & _BV((pin)&0xF)))
|
||||||
|
|
||||||
# define togglePin(pin) (PORTx_ADDRESS(pin) ^= _BV((pin)&0xF))
|
# define togglePin(pin) (PORTx_ADDRESS(pin) ^= _BV((pin)&0xF))
|
||||||
|
|
||||||
#elif defined(PROTOCOL_CHIBIOS)
|
#elif defined(PROTOCOL_CHIBIOS)
|
||||||
typedef ioline_t pin_t;
|
typedef ioline_t pin_t;
|
||||||
|
|
Loading…
Reference in a new issue