mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Fix ccompile error due to missing include
This commit is contained in:
parent
917fe508b3
commit
358a45f6f3
@ -58,7 +58,7 @@ void custom_every_5seconds()
|
||||
// Unused
|
||||
}
|
||||
|
||||
bool custom_pin_in_use(uint pin)
|
||||
bool custom_pin_in_use(uint8_t pin)
|
||||
{
|
||||
// no pins are used
|
||||
return false;
|
||||
|
@ -32,7 +32,7 @@ void custom_every_5seconds()
|
||||
dispatch_state_subtopic("my_sensor","{\"test\":123}");
|
||||
}
|
||||
|
||||
bool custom_pin_in_use(uint pin)
|
||||
bool custom_pin_in_use(uint8_t pin)
|
||||
{
|
||||
if(pin == 1024) return true; // fictuous used pin
|
||||
|
||||
|
@ -8,6 +8,10 @@
|
||||
#include "hasp_gpio.h"
|
||||
#include "hasp_config.h"
|
||||
|
||||
#if defined(HASP_USE_CUSTOM)
|
||||
#include "custom/my_custom.h"
|
||||
#endif
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP8266
|
||||
#define INPUT_PULLDOWN INPUT
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user