mirror of
https://github.com/grillbaer/esp32-geiger-counter.git
synced 2025-12-21 13:23:15 +01:00
automatic conditional include of file 'secret_credentils.h'
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
#include "credentials.h"
|
#include "credentials.h"
|
||||||
|
|
||||||
|
#if __has_include("secret_credentials.h")
|
||||||
// keep secret credentials in an external file that is never committed:
|
// keep secret credentials in an external file that is never committed:
|
||||||
// #include "secret_credentials"
|
#include "secret_credentials.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SECRET_CREDENTIALS
|
#ifndef _SECRET_CREDENTIALS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user