fixed compiler warning

This commit is contained in:
Thomas Krebs
2015-08-31 15:59:05 +02:00
parent 194b1be516
commit be427a2d38
+1 -1
View File
@@ -358,7 +358,7 @@ boolean PubSubClient::subscribe(char* topic) {
}
boolean PubSubClient::subscribe(char* topic, uint8_t qos) {
if (qos < 0 || qos > 1)
if (qos > 1)
return false;
if (connected()) {