Skip to content
Snippets Groups Projects
Verified Commit 1c9ec30c authored by Anian Bühler's avatar Anian Bühler
Browse files

minor changes

parent 04935321
No related branches found
No related tags found
1 merge request!9update master from dev2
......@@ -8,10 +8,12 @@
#define _DIDACTICNET_
#include "Arduino.h"
//callback(topic, topicLength, data, dataLength)
#ifdef CALLBACK_W_LENGTH
//callback(topic, topicLength, payload, payloadLength)
#define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, int, char*, int)
#else
//callback(topic, payload)
#define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, char*)
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment