Fix inclusion button problem.

Add option when having external pullup for inclusion button.
MY_INCLUSION_BUTTON_EXTERNAL_PULLUP.

Change the default led pins for serial gateway that was wrong.
This commit is contained in:
Henrik Ekblad
2015-11-02 20:50:22 +01:00
parent 9b7c99d499
commit 6baf605b0d
5 changed files with 24 additions and 8 deletions
+6
View File
@@ -187,6 +187,12 @@
#define MY_INCLUSION_MODE_DURATION 60
#endif
#if defined(MY_INCLUSION_BUTTON_EXTERNAL_PULLUP)
#define MY_INCLUSION_BUTTON_PRESSED HIGH
#else
#define MY_INCLUSION_BUTTON_PRESSED LOW
#endif
/**********************************
* Message Signing Settings
***********************************/