Browse Source

Merged in derfloh/espurna/def_custom_h (pull request #24)

use an #ifdef to check if we should include the custom.h file

Approved-by: Xose Pérez <xose.perez@gmail.com>
fastled
Florian 7 years ago
committed by Xose Pérez
parent
commit
1664788b13
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      code/espurna/config/all.h

+ 7
- 2
code/espurna/config/all.h View File

@ -7,9 +7,14 @@
/* /*
If you want to modify the stock configuration but you don't want to touch If you want to modify the stock configuration but you don't want to touch
the repo files you can uncomment the following line and add a "custom.h"
the repo files you can either define USE_CUSTOM_H or remove the
"#ifdef USE_CUSTOM_H" & "#endif" lines and add a "custom.h"
file to this same folder. file to this same folder.
Check https://bitbucket.org/xoseperez/espurna/issues/104/general_customh Check https://bitbucket.org/xoseperez/espurna/issues/104/general_customh
for an example on how to use this file. for an example on how to use this file.
(Define USE_CUSTOM_H on commandline for platformio:
export PLATFORMIO_BUILD_FLAGS="'-DUSE_CUSTOM_H'" )
*/ */
//#include "custom.h"
#ifdef USE_CUSTOM_H
#include "custom.h"
#endif

Loading…
Cancel
Save