Remove pin stuff

This commit is contained in:
Jesse Hills 2022-06-16 15:37:14 +12:00
parent 00c5233bf4
commit c974fbbea8
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -2,7 +2,6 @@
#include "esphome/components/i2c/i2c.h"
#include "esphome/core/component.h"
#include "esphome/core/gpio.h"
namespace esphome {
namespace es8388 {
@ -10,10 +9,6 @@ namespace es8388 {
class ES8388Component : public Component, public i2c::I2CDevice {
public:
void setup() override;
void set_power_pin(GPIOPin *pin) { this->power_pin_ = pin; }
protected:
GPIOPin *power_pin_;
};
} // namespace es8388