1
0
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:
Keith Burzinski 2025-05-28 21:01:00 -05:00 committed by GitHub
parent d64b49cc13
commit 729e49cdc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View File

@ -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) {

View File

@ -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; }