Skip to content

Commit 8663caf

Browse files
committed
upd
1 parent 9347274 commit 8663caf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=EncButton
2-
version=3.5.6
2+
version=3.5.7
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Light and powerful library for button and encoder operation for Arduino

src/core/VirtButton.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
#include "flags.h"
55
#include "io.h"
66

7+
#ifndef __AVR__
8+
#include <functional>
9+
#endif
10+
711
// ===================== FLAGS ======================
812
#define EB_PRESS (1 << 0) // нажатие на кнопку
913
#define EB_HOLD (1 << 1) // кнопка удержана

0 commit comments

Comments
 (0)