mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-04-19 12:57:19 +00:00
Add HASP_USE_CUSTOM
This commit is contained in:
parent
0cb5588199
commit
019fe20e1c
@ -117,6 +117,10 @@
|
||||
#define HASP_NUM_GPIO_CONFIG 8
|
||||
#endif
|
||||
|
||||
#ifndef HASP_USE_CUSTOM
|
||||
#define HASP_USE_CUSTOM 0
|
||||
#endif
|
||||
|
||||
// #ifndef HASP_NUM_OUTPUTS
|
||||
// #define HASP_NUM_OUTPUTS 3
|
||||
// #endif
|
||||
|
@ -2,9 +2,10 @@
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#include "hasplib.h"
|
||||
#include "custom/my_custom.h"
|
||||
|
||||
#if HASP_USE_CUSTOM > 0
|
||||
#if HASP_USE_CUSTOM > 0 && false // <-- set this to true in your code
|
||||
|
||||
#include "custom/my_custom.h"
|
||||
|
||||
void custom_setup()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user