bug with virtual button fixed

This commit is contained in:
Dmitry Borisenko
2020-12-10 02:11:47 +03:00
parent 253a9a5ae5
commit 81866043bc
3 changed files with 22 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ typedef std::vector<ButtonOut> MyButtonOutVector;
class ButtonOut {
public:
ButtonOut(unsigned int pin, boolean inv, String key);
ButtonOut(String pin, boolean inv, String key);
~ButtonOut();
@@ -18,7 +18,7 @@ class ButtonOut {
private:
unsigned int _pin;
String _pin;
boolean _inv;
String _key;