Browse Source

fix wsDebugSend prototype

sensors
Max Prokhorov 5 years ago
parent
commit
ee19446aaf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/config/prototypes.h

+ 1
- 1
code/espurna/config/prototypes.h View File

@ -194,7 +194,7 @@ void webRequestRegister(web_request_callback_f callback);
typedef std::function<bool(const char *, JsonVariant&)> ws_on_receive_callback_f; typedef std::function<bool(const char *, JsonVariant&)> ws_on_receive_callback_f;
void wsOnReceiveRegister(ws_on_receive_callback_f callback); void wsOnReceiveRegister(ws_on_receive_callback_f callback);
bool wsDebugSend(const char*);
bool wsDebugSend(const char*, const char*);
#else #else
#define ws_on_send_callback_f void * #define ws_on_send_callback_f void *
#define ws_on_action_callback_f void * #define ws_on_action_callback_f void *


Loading…
Cancel
Save