Archived
1
0

add a comma to Scanner_IOE constructor

This commit is contained in:
wolfv6 2016-11-06 11:23:53 -07:00
parent 31e0fa5ae0
commit 8855db3444
3 changed files with 10 additions and 5 deletions

View File

@ -6,6 +6,11 @@ This project adheres to [Semantic Versioning 2.0.0](http://semver.org/).
keybrd version 0.x.x is for initial development. keybrd version 0.x.x is for initial development.
keybrd version 1.0.0 will be released when the public API is stable. keybrd version 1.0.0 will be released when the public API is stable.
0.6.3 (2016-10-06)
------------------
* Enhancements
* add comma to Scanner_IOE constructor
0.6.1 (2016-10-02) 0.6.1 (2016-10-02)
------------------ ------------------
* Enhancements * Enhancements

View File

@ -1,5 +1,5 @@
name=keybrd name=keybrd
version=0.6.1 version=0.6.3
author=Wolfram Volpi author=Wolfram Volpi
maintainer=Wolfram Volpi maintainer=Wolfram Volpi
sentence=A library for creating custom-keyboard firmware. sentence=A library for creating custom-keyboard firmware.

View File

@ -1,5 +1,5 @@
#ifndef SCANNER_PORT_H #ifndef SCANNER_IOE_H
#define SCANNER_PORT_H #define SCANNER_IOE_H
#include <Arduino.h> #include <Arduino.h>
#include <inttypes.h> #include <inttypes.h>
@ -21,7 +21,7 @@ class Scanner_IOE : public ScannerInterface
PortInterface& refPortRead; //the IC's read port PortInterface& refPortRead; //the IC's read port
public: public:
Scanner_IOE(const bool activeState, PortInterface &refPortWrite, PortInterface& refPortRead) Scanner_IOE(const bool activeState, PortInterface &refPortWrite, PortInterface& refPortRead)
: activeState(activeState) refPortWrite(refPortWrite), refPortRead(refPortRead) {} : activeState(activeState), refPortWrite(refPortWrite), refPortRead(refPortRead) {}
void init(const uint8_t strobePin); void init(const uint8_t strobePin);
void begin(); void begin();
read_pins_t scan(const uint8_t strobePin); read_pins_t scan(const uint8_t strobePin);