Skip to content

Commit

Permalink
ignore unused parameters in new example
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jul 7, 2024
1 parent fd4ab23 commit a341c88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ IPAddress server(10, 10, 2, 2); //The ip of the MQTT server
char clientID[] = { "arduinoClient " };

void messageReceived(MQTTClient* client, char topic[], char payload[], int length) {
(void*)client;
(void)length;
Serial.println("incoming: ");
Serial.print(topic);
Serial.print(" - ");
Expand Down

0 comments on commit a341c88

Please sign in to comment.