mirror of
https://github.com/esphome/esphome.git
synced 2025-08-06 02:17:45 +00:00
tweaks
This commit is contained in:
parent
9205338cc8
commit
7bc2c685e0
@ -38,7 +38,7 @@ void SchedulerRapidCancellationComponent::run_rapid_cancellation_test() {
|
|||||||
std::string name = ss.str();
|
std::string name = ss.str();
|
||||||
|
|
||||||
// All threads schedule timeouts - this will implicitly cancel existing ones
|
// All threads schedule timeouts - this will implicitly cancel existing ones
|
||||||
this->set_timeout(name, 100, [this, name]() {
|
this->set_timeout(name, 150, [this, name]() {
|
||||||
this->total_executed_.fetch_add(1);
|
this->total_executed_.fetch_add(1);
|
||||||
ESP_LOGI(TAG, "Executed callback '%s'", name.c_str());
|
ESP_LOGI(TAG, "Executed callback '%s'", name.c_str());
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user