Skip to content

Commit 85b56e9

Browse files
authored
Merge pull request #70 from Pirozjvok/main
bugfix
2 parents de2d6ca + 8facba8 commit 85b56e9

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)