blynk & neopixelring & w7500

Fork of WIZwiki-7500_Blynk by IOP

Revision:
7:8879692d4e6c
Parent:
3:31e4b850b126
Child:
9:7369ec77a3ea
diff -r b942afadf9be -r 8879692d4e6c utility/BlynkHandlers.cpp
--- a/utility/BlynkHandlers.cpp	Thu Jun 23 23:00:40 2016 +0000
+++ b/utility/BlynkHandlers.cpp	Wed Oct 12 09:18:39 2016 +0300
@@ -14,20 +14,20 @@
 void BlynkNoOpCbk()
 {}
 
-void BlynkWidgetRead(BlynkReq& request)
+void BlynkWidgetRead(BlynkReq BLYNK_UNUSED &request)
 {
     BLYNK_LOG2(BLYNK_F("No handler for reading from pin "), request.pin);
 }
 
-void BlynkWidgetWrite(BlynkReq& request, const BlynkParam& param)
+void BlynkWidgetWrite(BlynkReq BLYNK_UNUSED &request, const BlynkParam BLYNK_UNUSED &param)
 {
     BLYNK_LOG2(BLYNK_F("No handler for writing to pin "), request.pin);
 }
 
-#define BLYNK_ON_READ_IMPL(pin)  void BlynkWidgetRead  ## pin (BlynkReq& req) \
+#define BLYNK_ON_READ_IMPL(pin)  void BlynkWidgetRead  ## pin (BlynkReq BLYNK_UNUSED &req) \
           __attribute__((weak, alias("BlynkWidgetRead")))
 
-#define BLYNK_ON_WRITE_IMPL(pin) void BlynkWidgetWrite ## pin (BlynkReq& req, const BlynkParam& param) \
+#define BLYNK_ON_WRITE_IMPL(pin) void BlynkWidgetWrite ## pin (BlynkReq BLYNK_UNUSED &req, const BlynkParam BLYNK_UNUSED &param) \
           __attribute__((weak, alias("BlynkWidgetWrite")))
 
 BLYNK_CONNECTED() __attribute__((weak, alias("BlynkNoOpCbk")));