Skip to content

Commit fe7a166

Browse files
committed
upd
1 parent 948c125 commit fe7a166

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-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.6.0
2+
version=3.6.1
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,10 @@ class VirtButton {
408408
// вызвать обработчик
409409
void call() {
410410
if (action()) {
411+
#ifndef EB_NO_CALLBACK
411412
if (cb) cb();
412413
if (cbt) cbt(this);
414+
#endif
413415
}
414416
}
415417

0 commit comments

Comments
 (0)