[libretiny_pwm] Combine log statements to reduce loop blocking (#12907)
This commit is contained in:
1 parent
a5368d1d95
commit
f2308c77c6
1 file changed
+4
-2
@@ -31,9 +31,11 @@ void LibreTinyPWM::setup() {
|
||||
}
|
||||
|
||||
void LibreTinyPWM::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "PWM Output:");
|
||||
ESP_LOGCONFIG(TAG,
|
||||
"PWM Output:\n"
|
||||
" Frequency: %.1f Hz",
|
||||
this->frequency_);
|
||||
LOG_PIN(" Pin ", this->pin_);
|
||||
ESP_LOGCONFIG(TAG, " Frequency: %.1f Hz", this->frequency_);
|
||||
}
|
||||
|
||||
void LibreTinyPWM::update_frequency(float frequency) {
|
||||
|
||||
Reference in new issue
Block a user