Update userpins.h

put correct pin for top sensor for new generation
Thanks @thomastech
pull/138/head
Luc 2016-01-24 22:22:51 +08:00
rodzic b509f84771
commit 47b4b069d9
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -76,11 +76,14 @@
#endif
#define ORIG_PS_ON_PIN -1
#define PS_ON_PIN ORIG_PS_ON_PIN
#if DAVINCI==4
#if MODEL==0
#define TOP_SENSOR_PIN 6
#else
#define TOP_SENSOR_PIN 64
#endif
#if DAVINCI==4
#define BADGE_LIGHT_PIN 6
#else
#define TOP_SENSOR_PIN 6
#define BADGE_LIGHT_PIN -1
#endif
#define SDSS 55