mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 16:25:50 +00:00
11 lines
226 B
C++
11 lines
226 B
C++
#include "baud_rate_select.h"
|
|
|
|
namespace esphome::ld2450 {
|
|
|
|
void BaudRateSelect::control(size_t index) {
|
|
this->publish_state(index);
|
|
this->parent_->set_baud_rate(this->option_at(index));
|
|
}
|
|
|
|
} // namespace esphome::ld2450
|