-disabled CARDDETECT if PIN is set to -1
- redo disable Beeper if PIN is set to -1
This commit is contained in:
parent
3183a14755
commit
b51e8bf7e5
2 changed files with 14 additions and 4 deletions
|
|
@ -27,7 +27,11 @@
|
|||
|
||||
#define CLICKED (buttons&EN_C)
|
||||
#define BLOCK {blocking=millis()+blocktime;}
|
||||
#define CARDINSERTED (READ(SDCARDDETECT)==0)
|
||||
#if (SDCARDDETECT > -1)
|
||||
{
|
||||
#define CARDINSERTED (READ(SDCARDDETECT)==0)
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue