Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Feb 12, 2022
1 parent 02e5b6e commit d00ac1f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,35 +183,30 @@ class Mqtt {
static uint8_t nested_format() {
return nested_format_;
}

static bool is_nested() {
return nested_format_ == 1;
}
static void nested_format(uint8_t nested_format) {
nested_format_ = nested_format;
}

static bool publish_single() {
return publish_single_;
}

static void publish_single(bool publish_single) {
publish_single_ = publish_single;
}

static void nested_format(uint8_t nested_format) {
nested_format_ = nested_format;
}

static bool ha_enabled() {
return ha_enabled_;
}

static void ha_enabled(bool ha_enabled) {
ha_enabled_ = ha_enabled;
}

static bool send_response() {
return send_response_;
}

static void send_response(bool send_response) {
send_response_ = send_response;
}
Expand Down

0 comments on commit d00ac1f

Please sign in to comment.