已存档
1
0
这个提交包含在:
wolfv6 2016-06-05 23:10:59 -06:00
父节点 042e099995
当前提交 cd8de41339
共有 2 个文件被更改,包括 2 次插入4 次删除

查看文件

@ -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);
}

查看文件

@ -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