Formatting
This commit is contained in:
parent
9abaa69d1e
commit
72490c9c10
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "Pin.h"
|
||||
|
||||
Pin::Pin(volatile uint8_t *port, uint8_t pin) : m_port(port)
|
||||
Pin::Pin(volatile uint8_t *port, uint8_t pin)
|
||||
: m_port(port)
|
||||
, m_pin(pin)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "ShiftRegister.h"
|
||||
|
||||
ShiftRegister::ShiftRegister(volatile uint8_t *shiftClockPort, uint8_t shiftClockPin, volatile uint8_t *dataPort, uint8_t dataPin, volatile uint8_t *latchClockPort, uint8_t latchClockPin) : m_shiftClockPin(shiftClockPort, shiftClockPin)
|
||||
ShiftRegister::ShiftRegister(volatile uint8_t *shiftClockPort, uint8_t shiftClockPin,
|
||||
volatile uint8_t *dataPort, uint8_t dataPin,
|
||||
volatile uint8_t *latchClockPort, uint8_t latchClockPin)
|
||||
: m_shiftClockPin(shiftClockPort, shiftClockPin)
|
||||
, m_dataPin(dataPort, dataPin)
|
||||
, m_latchClockPin(latchClockPort, latchClockPin)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue