Browse Source

Remove debug message in brokerPublish

i18n
Xose Pérez 6 years ago
parent
commit
de22166dca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/broker.ino

+ 1
- 1
code/espurna/broker.ino View File

@ -19,7 +19,7 @@ void brokerRegister(void (*callback)(const char *, unsigned char, const char *))
} }
void brokerPublish(const char * topic, unsigned char id, const char * message) { void brokerPublish(const char * topic, unsigned char id, const char * message) {
DEBUG_MSG_P(PSTR("[BROKER] Message %s[%u] => %s\n"), topic, id, message);
//DEBUG_MSG_P(PSTR("[BROKER] Message %s[%u] => %s\n"), topic, id, message);
for (unsigned char i=0; i<_broker_callbacks.size(); i++) { for (unsigned char i=0; i<_broker_callbacks.size(); i++) {
(_broker_callbacks[i])(topic, id, message); (_broker_callbacks[i])(topic, id, message);
} }


Loading…
Cancel
Save