Imroy / pubsubclient

A client library for the ESP8266 that provides support for MQTT
MIT License
434 stars 115 forks source link

Compile error using mqtt_auth example - 'sent' was not declared MQTT.cpp #17

Closed myk3y closed 9 years ago

myk3y commented 9 years ago

/Development/Arduino/libraries/pubsubclient/src/MQTT.cpp: In member function 'bool MQTT::Message::send(Client&)': //Development/Arduino/libraries/pubsubclient/src/MQTT.cpp:123:5: error: 'sent' was not >declared in this scope sent = client.write(const_cast<const uint8_t*>(packet), packet_length); ^ Error compiling.

av1024 commented 9 years ago

Just add uint32_t before sent

myk3y commented 9 years ago

Thanks Alex!