Skip to content

Commit b4879f0

Browse files
committed
void unused parameter
1 parent 7749060 commit b4879f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/MySensors/core/MySensorCore.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ ControllerConfig getConfig() {
190190
boolean _sendRoute(MyMessage &message) {
191191
// increment heartbeat counter
192192
_heartbeat++;
193+
#if defined(MY_CORE_ONLY)
194+
(void)message;
195+
#endif
193196
#if defined(MY_GATEWAY_FEATURE)
194197
if (message.destination == _nc.nodeId) {
195198
// This is a message sent from a sensor attached on the gateway node.

0 commit comments

Comments
 (0)