mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 22:52:20 +01:00
more api loop reductions
This commit is contained in:
@@ -831,7 +831,6 @@ APIError APIPlaintextFrameHelper::init() {
|
||||
state_ = State::DATA;
|
||||
return APIError::OK;
|
||||
}
|
||||
/// Not used for plaintext
|
||||
APIError APIPlaintextFrameHelper::loop() {
|
||||
if (state_ != State::DATA) {
|
||||
return APIError::BAD_STATE;
|
||||
|
Reference in New Issue
Block a user