mirror of
https://github.com/esphome/esphome.git
synced 2025-06-16 23:36:59 +02:00
[gcja5] Remove unused setup()
method (#8935)
This commit is contained in:
parent
d64b49cc13
commit
729e49cdc3
@ -14,8 +14,6 @@ namespace gcja5 {
|
|||||||
|
|
||||||
static const char *const TAG = "gcja5";
|
static const char *const TAG = "gcja5";
|
||||||
|
|
||||||
void GCJA5Component::setup() { ESP_LOGCONFIG(TAG, "Running setup"); }
|
|
||||||
|
|
||||||
void GCJA5Component::loop() {
|
void GCJA5Component::loop() {
|
||||||
const uint32_t now = App.get_loop_component_start_time();
|
const uint32_t now = App.get_loop_component_start_time();
|
||||||
if (now - this->last_transmission_ >= 500) {
|
if (now - this->last_transmission_ >= 500) {
|
||||||
|
@ -9,7 +9,6 @@ namespace gcja5 {
|
|||||||
|
|
||||||
class GCJA5Component : public Component, public uart::UARTDevice {
|
class GCJA5Component : public Component, public uart::UARTDevice {
|
||||||
public:
|
public:
|
||||||
void setup() override;
|
|
||||||
void dump_config() override;
|
void dump_config() override;
|
||||||
void loop() override;
|
void loop() override;
|
||||||
float get_setup_priority() const override { return setup_priority::DATA; }
|
float get_setup_priority() const override { return setup_priority::DATA; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user