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
Branches
No related tags found
1 merge request!9update master from dev2
...@@ -8,10 +8,12 @@ ...@@ -8,10 +8,12 @@
#define _DIDACTICNET_ #define _DIDACTICNET_
#include "Arduino.h" #include "Arduino.h"
//callback(topic, topicLength, data, dataLength)
#ifdef CALLBACK_W_LENGTH #ifdef CALLBACK_W_LENGTH
//callback(topic, topicLength, payload, payloadLength)
#define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, int, char*, int) #define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, int, char*, int)
#else #else
//callback(topic, payload)
#define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, char*) #define PSNET_CALLBACK_SIGNATURE void (*callback)(char*, char*)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment