mirror of
https://github.com/esphome/esphome.git
synced 2026-02-26 05:53:12 -07:00
Remove incorrect early guard comment
This commit is contained in:
@@ -56,8 +56,6 @@ void PylontechComponent::setup() {
|
||||
void PylontechComponent::update() { this->write_str("pwr\n"); }
|
||||
|
||||
void PylontechComponent::loop() {
|
||||
// Early return avoids stack adjustment for the batch buffer below.
|
||||
// loop() runs ~7000/min so most calls have nothing to read.
|
||||
int avail = this->available();
|
||||
if (avail > 0) {
|
||||
// pylontech sends a lot of data very suddenly
|
||||
|
||||
Reference in New Issue
Block a user