Skip to content

Commit de2d6ca

Browse files
committed
upd
1 parent 6a25cec commit de2d6ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.7.0
2+
version=3.7.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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class VirtButton {
458458
}
459459

460460
// после взаимодействия с кнопкой (или энкодером EncButton) прошло указанное время, мс [событие]
461-
bool timeout(const uint16_t tout) __attribute__((deprecated)) {
461+
bool timeout(const uint16_t tout) /*__attribute__((deprecated))*/ {
462462
if (timeoutState(tout)) {
463463
bf.clear(EB_TOUT);
464464
return 1;
@@ -467,7 +467,7 @@ class VirtButton {
467467
}
468468

469469
// после взаимодействия с кнопкой (или энкодером EncButton) прошло указанное время, мс [состояние]
470-
bool timeoutState(const uint16_t tout) __attribute__((deprecated)) {
470+
bool timeoutState(const uint16_t tout) /*__attribute__((deprecated))*/ {
471471
return (bf.read(EB_TOUT) && (uint16_t)((uint16_t)EB_uptime() - tmr) > tout);
472472
}
473473

0 commit comments

Comments
 (0)