1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-20 12:12:24 +01:00

Add tasmota magic bits, Tasmota compat check (#1152)

This commit is contained in:
Otto Winter
2020-07-15 15:29:41 +02:00
committed by GitHub
parent 4752096520
commit 0cc3902ffc
3 changed files with 28 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
#include "esphome/core/application.h"
#include "esphome/core/log.h"
#include "esphome/core/version.h"
#include "esphome/core/esphal.h"
#ifdef USE_STATUS_LED
#include "esphome/components/status_led/status_led.h"
@@ -58,6 +59,9 @@ void Application::setup() {
ESP_LOGI(TAG, "setup() finished successfully!");
this->schedule_dump_config();
this->calculate_looping_components_();
// Dummy function to link some symbols into the binary.
force_link_symbols();
}
void Application::loop() {
uint32_t new_app_state = 0;