Browse Source

compiles

tags/v0.5.0
wolfv6 8 years ago
parent
commit
cd8de41339
2 changed files with 2 additions and 4 deletions
  1. 1
    1
      src/Row.cpp
  2. 1
    3
      src/Row.h

+ 1
- 1
src/Row.cpp View File

@@ -15,7 +15,7 @@ void Row::process(const bool activeHigh)
uint8_t debouncedChanged; //1 means debounced changed

wait();
//rowState = scanner.scan(rowEnd, activeHigh);
rowState = scanner.scan(rowEnd, activeHigh);
debouncedChanged = debouncer.debounce(rowState, debounced);
pressRelease(rowEnd, debouncedChanged);
}

+ 1
- 3
src/Row.h View File

@@ -23,9 +23,7 @@ class Row : public RowBase
public:
Row( RowPort &refRowPort, const uint8_t rowPin,
ColPort *const ptrsColPorts[], const uint8_t colPortCount, Key *const ptrsKeys[])
: RowBase(ptrsKeys)
, RowScanner_BitManipulation scanner(refRowPort, rowPin, ptrsColPorts, colPortCount)
{ }
: RowBase(ptrsKeys), scanner(refRowPort, rowPin, ptrsColPorts, colPortCount) { }
virtual void process(const bool activeHigh);
};
#endif