mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix compilation of my9231 component (#533)
missing definition of GPIOPin: In file included from src/esphome/components/my9231/my9231.cpp:1:0: src/esphome/components/my9231/my9231.h:13:19: error: 'GPIOPin' has not been declared void set_pin_di(GPIOPin *pin_di) { pin_di_ = pin_di; } ^ src/esphome/components/my9231/my9231.h:14:21: error: 'GPIOPin' has not been declared void set_pin_dcki(GPIOPin *pin_dcki) { pin_dcki_ = pin_dcki; } ^ src/esphome/components/my9231/my9231.h:51:3: error: 'GPIOPin' does not name a type GPIOPin *pin_di_; ^ src/esphome/components/my9231/my9231.h:52:3: error: 'GPIOPin' does not name a type GPIOPin *pin_dcki_; ^
This commit is contained in:
parent
86848b39db
commit
bb1937ab88
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "esphome/core/component.h"
|
#include "esphome/core/component.h"
|
||||||
|
#include "esphome/core/esphal.h"
|
||||||
#include "esphome/components/output/float_output.h"
|
#include "esphome/components/output/float_output.h"
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
|
|
Loading…
Reference in a new issue