More variant.h cleanup. LED_NOTIFICATION, remove dead code, etc (#9477)
This commit is contained in:
@@ -36,9 +36,6 @@ void initVariant()
|
||||
pinMode(PIN_LED1, OUTPUT);
|
||||
ledOff(PIN_LED1);
|
||||
|
||||
pinMode(PIN_LED2, OUTPUT);
|
||||
ledOff(PIN_LED2);
|
||||
|
||||
// 3V3 Power Rail
|
||||
// pinMode(PIN_3V3_EN, OUTPUT);
|
||||
// digitalWrite(PIN_3V3_EN, HIGH);
|
||||
|
||||
@@ -45,10 +45,10 @@ extern "C" {
|
||||
|
||||
// LEDs
|
||||
#define PIN_LED1 (32 + 4) // P1.04 Controls Green LED
|
||||
#define PIN_LED2 (28) // P0.28 Controls Blue LED
|
||||
#define LED_BLUE (28) // P0.28 Controls Blue LED
|
||||
|
||||
#define LED_GREEN PIN_LED1
|
||||
#define LED_BLUE PIN_LED2
|
||||
#define LED_NOTIFICATION LED_BLUE
|
||||
|
||||
#define LED_STATE_ON 1 // State when LED is litted
|
||||
|
||||
|
||||
Reference in New Issue
Block a user