kopia lustrzana https://github.com/meshtastic/firmware
Make sure the mosfet gate for adc measuring circuit is low (#2530)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>pull/2532/head v2.1.14.99a31c1
rodzic
113026c372
commit
99a31c1fad
|
@ -300,6 +300,10 @@ bool Power::analogInit()
|
|||
} else {
|
||||
LOG_INFO("ADCmod: ADC characterization based on default reference voltage\n");
|
||||
}
|
||||
#if defined(HELTEC_V3) || defined(HELTEC_WSL_V3)
|
||||
pinMode(37, OUTPUT); // needed for P channel mosfet to work
|
||||
digitalWrite(37, LOW);
|
||||
#endif
|
||||
#endif // ARCH_ESP32
|
||||
|
||||
#ifdef ARCH_NRF52
|
||||
|
|
Ładowanie…
Reference in New Issue