Skip to content

Commit

Permalink
#26 cleanup obstolete climate and unify vports
Browse files Browse the repository at this point in the history
  • Loading branch information
dentra committed Mar 13, 2024
1 parent ab854c8 commit d12fede
Show file tree
Hide file tree
Showing 80 changed files with 734 additions and 3,185 deletions.
2 changes: 0 additions & 2 deletions components/tion-api/tion-api-4s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ bool Tion4sApi::factory_reset(const TionState &state, uint32_t request_id) const
return this->write_frame(FRAME_TYPE_STATE_SET, st_set, request_id);
}

#ifdef TION_ENABLE_PRESETS
bool Tion4sApi::set_turbo(uint16_t time, uint32_t request_id) const {
TION_LOGD(TAG, "Request[%" PRIu32 "] Turbo %u", request_id, time);
const struct {
Expand All @@ -213,7 +212,6 @@ bool Tion4sApi::set_turbo(uint16_t time, uint32_t request_id) const {
} PACKED turbo{.time = time, .err_code = 0};
return this->write_frame(FRAME_TYPE_TURBO_SET, turbo, request_id);
};
#endif

#ifdef TION_ENABLE_HEARTBEAT
bool Tion4sApi::send_heartbeat() const {
Expand Down
Loading

0 comments on commit d12fede

Please sign in to comment.