Added clang-format (#623)

* added .clang-format
* added names to travis jobs
removed deprecated travis option
* check github action
* added .gitignore
This commit is contained in:
Leon Kiefer authored and GitHub committed 2020-06-09 16:09:23 -05:00
1 parent 661ef9c55e
commit 10a9d00aaf
59 files changed
+2892 -3640

No files matched your search

+9 -9
View File
@@ -30,21 +30,21 @@ extern void setupHCSR501();
extern void HCSR501toMQTT();
/*----------------------------USER PARAMETERS-----------------------------*/
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
#define subjectHCSR501toMQTT "/HCSR501toMQTT"
#define subjectHCSR501toMQTT "/HCSR501toMQTT"
#ifndef TimeBeforeStartHCSR501
#define TimeBeforeStartHCSR501 60000 //define the time necessary for HC SR501 init
# define TimeBeforeStartHCSR501 60000 //define the time necessary for HC SR501 init
#endif
/*-------------------PIN DEFINITIONS----------------------*/
#ifndef HCSR501_PIN
#if defined(ESP8266)
#define HCSR501_PIN D5
#elif defined(ESP32)
#define HCSR501_PIN 5
#else
#define HCSR501_PIN 7
#endif
# if defined(ESP8266)
# define HCSR501_PIN D5
# elif defined(ESP32)
# define HCSR501_PIN 5
# else
# define HCSR501_PIN 7
# endif
#endif
#endif