Archived
1
0
This commit is contained in:
wolfv6 2016-06-05 23:10:59 -06:00
parent 042e099995
commit cd8de41339
2 changed files with 2 additions and 4 deletions

View File

@ -15,7 +15,7 @@ void Row::process(const bool activeHigh)
uint8_t debouncedChanged; //1 means debounced changed uint8_t debouncedChanged; //1 means debounced changed
wait(); wait();
//rowState = scanner.scan(rowEnd, activeHigh); rowState = scanner.scan(rowEnd, activeHigh);
debouncedChanged = debouncer.debounce(rowState, debounced); debouncedChanged = debouncer.debounce(rowState, debounced);
pressRelease(rowEnd, debouncedChanged); pressRelease(rowEnd, debouncedChanged);
} }

View File

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