mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	Remove pin stuff
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user