Merge pull request #7 from dpslwk/master

Minor Update for example to 1.8 api
This commit is contained in:
Nicholas O'Leary 2012-03-13 12:24:50 -07:00
commit 18fe49c070

View File

@ -15,7 +15,7 @@ byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED };
byte server[] = { 172, 16, 0, 2 };
byte ip[] = { 172, 16, 0, 100 };
void callback(char* topic, byte* payload,int length) {
void callback(char* topic, byte* payload, unsigned int length) {
// handle message arrived
}