We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89fcb23 commit 8fbe745Copy full SHA for 8fbe745
src/core/VirtButton.h
@@ -181,6 +181,8 @@ class VirtButton {
181
void attach(ActionHandler handler) {
182
#ifndef EB_NO_CALLBACK
183
cb = handler;
184
+#else
185
+ (void)handler;
186
#endif
187
}
188
@@ -447,6 +449,8 @@ class VirtButton {
447
449
timeout(); // todo clear tout
448
450
451
452
453
+ (void)force;
454
455
456
@@ -574,4 +578,4 @@ class VirtButton {
574
578
575
579
return bf.read(EB_CLKS_R | EB_PRS_R | EB_HLD_R | EB_STP_R | EB_REL_R);
576
580
577
-};
581
+};
0 commit comments