Another bugfix, improve header documentation a bit.
This commit is contained in:
parent
a9c80c2ed5
commit
2ce994677a
3 changed files with 16 additions and 7 deletions
|
@ -19,7 +19,7 @@ uint8_t Reader::getMode(bool pullup) {
|
|||
|
||||
DirectReader::DirectReader(uint8_t pin, bool inverted) : Reader(inverted) {
|
||||
uint8_t mode = getMode(inverted);
|
||||
this->bouncer.attach(pin);
|
||||
this->bouncer.attach(pin, mode);
|
||||
}
|
||||
|
||||
bool DirectReader::Update() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue