Don't set non-existent pin on e290 (#7213)

* Don't set non-existent pin on e290

* Don't twiddle imaginary pins on the e213, either
This commit is contained in:
Jonathan Bennett 2025-07-02 23:52:55 -05:00 committed by GitHub
parent 549250b91a
commit 81828c6244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -633,8 +633,7 @@ void menuHandler::BrightnessPickerMenu()
if (selected != 0) { // Not "Back"
// Apply brightness immediately
#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190) || defined(HELTEC_VISION_MASTER_E213) || \
defined(HELTEC_VISION_MASTER_E290)
#if defined(HELTEC_MESH_NODE_T114) || defined(HELTEC_VISION_MASTER_T190)
// For HELTEC devices, use analogWrite to control backlight
analogWrite(VTFT_LEDA, uiconfig.screen_brightness);
#elif defined(ST7789_CS)