Skip to content

Commit 8facba8

Browse files
committed
bugfix
1 parent de2d6ca commit 8facba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/VirtButton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class VirtButton {
142142
// установить время таймаута, умолч. 1000 (макс. 4000 мс)
143143
void setTimeout(const uint16_t tout) {
144144
#ifndef EB_TOUT_TIME
145-
EB_TOUT_T = tout;
145+
EB_TOUT_T = tout >> EB_SHIFT;
146146
#endif
147147
}
148148

0 commit comments

Comments
 (0)