Formatting

This commit is contained in:
mandlm 2016-01-12 23:05:33 +01:00
parent 9abaa69d1e
commit 72490c9c10
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#include "Pin.h" #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) , m_pin(pin)
{ {

View File

@ -1,6 +1,9 @@
#include "ShiftRegister.h" #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_dataPin(dataPort, dataPin)
, m_latchClockPin(latchClockPort, latchClockPin) , m_latchClockPin(latchClockPort, latchClockPin)
{ {