From a341c8882569104e9f757c8c84f5e85d052e3106 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sun, 7 Jul 2024 05:54:41 -0700 Subject: [PATCH] ignore unused parameters in new example --- examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino b/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino index 30c66ff..fd279b3 100644 --- a/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino +++ b/examples/MQTT/mqtt_basic_no_blk/mqtt_basic_no_blk.ino @@ -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(" - ");