Add HASP_USE_CUSTOM

This commit is contained in:
fvanroie 2021-07-12 04:13:50 +02:00
parent 0cb5588199
commit 019fe20e1c
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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()
{