Skip to content

Commit f742fcc

Browse files
committed
upd
1 parent 10c92fd commit f742fcc

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Foo](https://img.shields.io/badge/Version-1.19.3-brightgreen.svg?style=flat-square)](#versions)
1+
[![Foo](https://img.shields.io/badge/Version-1.19.4-brightgreen.svg?style=flat-square)](#versions)
22
[![Foo](https://img.shields.io/badge/Website-AlexGyver.ru-blue.svg?style=flat-square)](https://alexgyver.ru/)
33
[![Foo](https://img.shields.io/badge/%E2%82%BD$%E2%82%AC%20%D0%9D%D0%B0%20%D0%BF%D0%B8%D0%B2%D0%BE-%D1%81%20%D1%80%D1%8B%D0%B1%D0%BA%D0%BE%D0%B9-orange.svg?style=flat-square)](https://alexgyver.ru/support_alex/)
44

@@ -530,6 +530,7 @@ void loop() {
530530
- v1.19.1 - ещё чутка увеличена производительность
531531
- v1.19.2 - ещё немного увеличена производительность, спасибо XRay3D
532532
- v1.19.3 - сделал высокий уровень кнопки по умолчанию в виртуальном режиме
533+
- v1.19.4 - фикс EncButton2
533534

534535
<a id="feedback"></a>
535536
## Баги и обратная связь

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=1.19.3
2+
version=1.19.4
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Light and fast library for button and encoder operation for Arduino

src/EncButton.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
v1.19.1 - ещё чутка увеличена производительность
4545
v1.19.2 - ещё немного увеличена производительность, спасибо XRay3D
4646
v1.19.3 - сделал высокий уровень кнопки по умолчанию в виртуальном режиме
47+
v1.19.4 - фикс EncButton2
4748
*/
4849

4950
#ifndef _EncButton_h

src/EncButton2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class EncButton2 {
7777
public:
7878
// pinMode, pin1, pin2, pin3
7979
EncButton2(uint8_t mode = INPUT, uint8_t P1 = 255, uint8_t P2 = 255, uint8_t P3 = 255) {
80-
setButtonLevel(_S1 < 252 ? LOW : HIGH); // высокий уровень в виртуальном режиме
80+
setButtonLevel(_EB_TYPE <= 3 ? LOW : HIGH); // высокий уровень в виртуальном режиме
8181
setPins(mode, P1, P2, P3);
8282
}
8383

0 commit comments

Comments
 (0)