mirror of
https://github.com/esphome/esphome.git
synced 2025-06-15 23:06:58 +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";
|
||||
|
||||
void GCJA5Component::setup() { ESP_LOGCONFIG(TAG, "Running setup"); }
|
||||
|
||||
void GCJA5Component::loop() {
|
||||
const uint32_t now = App.get_loop_component_start_time();
|
||||
if (now - this->last_transmission_ >= 500) {
|
||||
|
@ -9,7 +9,6 @@ namespace gcja5 {
|
||||
|
||||
class GCJA5Component : public Component, public uart::UARTDevice {
|
||||
public:
|
||||
void setup() override;
|
||||
void dump_config() override;
|
||||
void loop() override;
|
||||
float get_setup_priority() const override { return setup_priority::DATA; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user