Skip to content

Commit a5d11d9

Browse files
committed
fixed pulldown uint8_t/int8_t problem
1 parent 6b7d8bb commit a5d11d9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Bugtton.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
#include "Bugtton.h"
3232

33-
// Bugtton buttons(buttonCount, buttonPins(array), INPUT/INPUT_PULLUP, debounce time)
34-
Bugtton::Bugtton(const uint8_t a, const uint8_t *b, uint8_t dt){
33+
// Bugtton buttons(buttonCount, buttonPins(array), debounce time)
34+
Bugtton::Bugtton(const uint8_t a, const int8_t *b, uint8_t dt){
3535
// Init values
3636
_maskD = B00000000;
3737
_maskB = B00000000;

src/Bugtton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Bugtton {
7878

7979
public:
8080

81-
Bugtton(const uint8_t a, const uint8_t *b, uint8_t dt);
81+
Bugtton(const uint8_t a, const int8_t *b, uint8_t dt);
8282
void debounceTime(uint16_t a);
8383
void update();
8484
void setMode(uint8_t i, uint8_t mode);

0 commit comments

Comments
 (0)