Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Apr 3, 2024
1 parent 9347274 commit 8663caf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=EncButton
version=3.5.6
version=3.5.7
author=AlexGyver <[email protected]>
maintainer=AlexGyver <[email protected]>
sentence=Light and powerful library for button and encoder operation for Arduino
Expand Down
4 changes: 4 additions & 0 deletions src/core/VirtButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#include "flags.h"
#include "io.h"

#ifndef __AVR__
#include <functional>
#endif

// ===================== FLAGS ======================
#define EB_PRESS (1 << 0) // нажатие на кнопку
#define EB_HOLD (1 << 1) // кнопка удержана
Expand Down

0 comments on commit 8663caf

Please sign in to comment.