Skip to content

Commit 1656ab0

Browse files
committed
Comment parameter out to prevent unused parameter warning. This function anyway only servers as a stub to allow compilation for megaavr architecture.
1 parent 7ed85b0 commit 1656ab0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ArduinoIoTCloud.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void ArduinoIoTCloudClass::execCloudEventCallback(ArduinoIoTCloudEvent const eve
180180
}
181181
}
182182

183-
__attribute__((weak)) void setDebugMessageLevel(int const level) {
184-
//do nothing
185-
}
183+
__attribute__((weak)) void setDebugMessageLevel(int const /* level */)
184+
{
185+
/* do nothing */
186+
}

0 commit comments

Comments
 (0)