Skip to content

Commit

Permalink
be able to set mqtt base
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 2, 2021
1 parent 7cba52d commit e6a44c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ class Mqtt {
return mqtt_base_;
}

static void base(const char * base) {
mqtt_base_ = base;
}

static uint16_t publish_count() {
return mqtt_message_id_;
}
Expand Down

0 comments on commit e6a44c9

Please sign in to comment.