mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Add GNSS model recognition functio (#1696)
* Add GNSS model recognition function * Fix GNSS initialization failure * GPS.cpp difference between runOnce and ESP32S3 and ESP32 versions Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
@@ -441,9 +441,12 @@ bool Power::axpChipInit()
|
||||
|
||||
// t-beam s3 core
|
||||
|
||||
// gnss module power channel - now turned on in setGpsPower
|
||||
// PMU->setPowerChannelVoltage(XPOWERS_ALDO4, 3300);
|
||||
// PMU->enablePowerOutput(XPOWERS_ALDO4);
|
||||
/**
|
||||
* gnss module power channel
|
||||
* The default ALDO4 is off, you need to turn on the GNSS power first, otherwise it will be invalid during initialization
|
||||
*/
|
||||
PMU->setPowerChannelVoltage(XPOWERS_ALDO4, 3300);
|
||||
PMU->enablePowerOutput(XPOWERS_ALDO4);
|
||||
|
||||
// lora radio power channel
|
||||
PMU->setPowerChannelVoltage(XPOWERS_ALDO3, 3300);
|
||||
|
||||
Reference in New Issue
Block a user