mirror of
https://github.com/esphome/esphome.git
synced 2025-04-16 07:40:29 +01:00
Remove pin stuff
This commit is contained in:
parent
00c5233bf4
commit
c974fbbea8
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
#include "esphome/components/i2c/i2c.h"
|
#include "esphome/components/i2c/i2c.h"
|
||||||
#include "esphome/core/component.h"
|
#include "esphome/core/component.h"
|
||||||
#include "esphome/core/gpio.h"
|
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace es8388 {
|
namespace es8388 {
|
||||||
@ -10,10 +9,6 @@ namespace es8388 {
|
|||||||
class ES8388Component : public Component, public i2c::I2CDevice {
|
class ES8388Component : public Component, public i2c::I2CDevice {
|
||||||
public:
|
public:
|
||||||
void setup() override;
|
void setup() override;
|
||||||
void set_power_pin(GPIOPin *pin) { this->power_pin_ = pin; }
|
|
||||||
|
|
||||||
protected:
|
|
||||||
GPIOPin *power_pin_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace es8388
|
} // namespace es8388
|
||||||
|
Loading…
x
Reference in New Issue
Block a user