Skip to content

Commit

Permalink
Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Aug 22, 2024
1 parent 0c8448f commit 521d37b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions variants/heltec_wireless_paper/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

// Power
#define VEXT_ENABLE 45 // Active low, powers the E-Ink display
#define VEXT_ON_VALUE LOW
#define ADC_CTRL 19
#define BATTERY_PIN 20
#define ADC_CHANNEL ADC2_GPIO20_CHANNEL
Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wireless_paper_v1/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

// Power
#define VEXT_ENABLE 45 // Active low, powers the E-Ink display
#define VEXT_ON_VALUE LOW
#define ADC_CTRL 19
#define BATTERY_PIN 20
#define ADC_CHANNEL ADC2_GPIO20_CHANNEL
Expand Down
3 changes: 2 additions & 1 deletion variants/heltec_wsl_v3/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#define LED_PIN LED

#define VEXT_ENABLE Vext // active low, powers the oled display and the lora antenna boost
#define VEXT_ON_VALUE LOW
#define BUTTON_PIN 0

#define ADC_CTRL 37
Expand Down Expand Up @@ -32,4 +33,4 @@
#define SX126X_RESET LORA_RESET

#define SX126X_DIO2_AS_RF_SWITCH
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
#define SX126X_DIO3_TCXO_VOLTAGE 1.8

0 comments on commit 521d37b

Please sign in to comment.