Update example to be 1.8 compatible

This commit is contained in:
dpslwk 2012-03-13 18:29:43 +00:00
parent ee378802a9
commit cc7e1c45c7

View File

@ -15,7 +15,7 @@ byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xED };
byte server[] = { 172, 16, 0, 2 }; byte server[] = { 172, 16, 0, 2 };
byte ip[] = { 172, 16, 0, 100 }; 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 // handle message arrived
} }