Use init() instead of constructor.
This commit is contained in:
1 parent
fbd5b8b721
commit
b832b82ec6
5 files changed
+38
-16
No files matched your search
@@ -33,7 +33,8 @@ void setupPlugins()
|
||||
new RemoteHardwarePlugin();
|
||||
new ReplyPlugin();
|
||||
rotaryEncoderInterruptImpl1 =
|
||||
new RotaryEncoderInterruptImpl1(
|
||||
new RotaryEncoderInterruptImpl1();
|
||||
rotaryEncoderInterruptImpl1->init(
|
||||
22, 23, 21,
|
||||
INPUT_EVENT_UP, INPUT_EVENT_DOWN, INPUT_EVENT_SELECT);
|
||||
cannedMessagePlugin = new CannedMessagePlugin(rotaryEncoderInterruptImpl1);
|
||||
|
||||
Reference in new issue
Block a user