Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
myk3y opened this issue Jun 23, 2015 · 2 comments
Closed

Comments

@myk3y
Copy link

myk3y commented Jun 23, 2015

/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
Copy link

av1024 commented Jun 23, 2015

Just add uint32_t before sent

@myk3y
Copy link
Author

myk3y commented Jun 23, 2015

Thanks Alex!

@myk3y myk3y closed this as completed Jun 23, 2015
Imroy added a commit that referenced this issue Jun 23, 2015
Should be more careful about making big changes while tired and about to go to bed.
Fixes #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants