[esp8266] Store component warning strings in flash to reduce RAM usage (#10623)
This commit is contained in:
1 parent
4d09932320
commit
c33bb3a8a9
26 files changed
+70
-55
No files matched your search
@@ -7,7 +7,7 @@ void M5Stack8AngleKnobSensor::update() {
|
||||
if (this->parent_ != nullptr) {
|
||||
int32_t raw_pos = this->parent_->read_knob_pos_raw(this->channel_, this->bits_);
|
||||
if (raw_pos == -1) {
|
||||
this->status_set_warning("Could not read knob position from M5Stack 8Angle.");
|
||||
this->status_set_warning(LOG_STR("Could not read knob position from M5Stack 8Angle."));
|
||||
return;
|
||||
}
|
||||
if (this->raw_) {
|
||||
|
||||
Reference in new issue
Block a user