Skip to content

Commit ca7fc33

Browse files
committed
upd
1 parent 20eb075 commit ca7fc33

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=Looper
2-
version=1.1.4
2+
version=1.1.5
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Simple task, thread and event manager for Arduino

src/Looper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// отложить отправку события
1717
#define LP_PUSH_EVENT(id, data) Looper.pushEvent(LPH(id), data)
1818

19-
#define LP_MAKE(type, ...) type _LP_CONCAT(__loop_obj_, __COUNTER__)(__VA_ARGS__)
20-
#define LP_MAKE_(id, type, ...) type _LP_CONCAT(__loop_obj_, __COUNTER__)(LPH(id), __VA_ARGS__)
19+
#define LP_MAKE(type, ...) static type _LP_CONCAT(__loop_obj_, __COUNTER__)(__VA_ARGS__)
20+
#define LP_MAKE_(id, type, ...) static type _LP_CONCAT(__loop_obj_, __COUNTER__)(LPH(id), __VA_ARGS__)
2121
#define LP_NEW(type, ...) new type(__VA_ARGS__)
2222
#define LP_NEW_(id, type, ...) new type(LPH(id), __VA_ARGS__)
2323

0 commit comments

Comments
 (0)