mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-16 07:46:33 +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
|
#define HASP_NUM_GPIO_CONFIG 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HASP_USE_CUSTOM
|
||||||
|
#define HASP_USE_CUSTOM 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// #ifndef HASP_NUM_OUTPUTS
|
// #ifndef HASP_NUM_OUTPUTS
|
||||||
// #define HASP_NUM_OUTPUTS 3
|
// #define HASP_NUM_OUTPUTS 3
|
||||||
// #endif
|
// #endif
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
#include "hasplib.h"
|
#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()
|
void custom_setup()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user