From cd8de41339e1d70cbd06141564e401cbfdacea57 Mon Sep 17 00:00:00 2001 From: wolfv6 Date: Sun, 5 Jun 2016 23:10:59 -0600 Subject: [PATCH] compiles --- src/Row.cpp | 2 +- src/Row.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Row.cpp b/src/Row.cpp index 0042f5b..b72e1b6 100644 --- a/src/Row.cpp +++ b/src/Row.cpp @@ -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); } diff --git a/src/Row.h b/src/Row.h index 3d60450..759d006 100644 --- a/src/Row.h +++ b/src/Row.h @@ -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