@@ -780,7 +780,7 @@ void beginBoard()
780780 present.charger_mp2762a = true ;
781781
782782 present.button_powerLow = true ; // Button is pressed when high
783- // present.button_mode = true; //TODO remove comment. This won't be available until v1.1 of hardware
783+ present.button_mode = true ;
784784 present.beeper = true ;
785785 present.gnss_to_uart = true ;
786786
@@ -795,14 +795,18 @@ void beginBoard()
795795 present.displayInverted = true ;
796796 present.tiltPossible = true ;
797797
798+ present.fastPowerOff = true ;
799+ present.invertedFastPowerOff = true ; // Drive POWER_KILL high to cause powerdown
800+
798801 pin_I2C0_SDA = 15 ;
799802 pin_I2C0_SCL = 4 ;
800803
801804 pin_GnssUart_RX = 26 ;
802805 pin_GnssUart_TX = 27 ;
803806
804807 pin_powerSenseAndControl = 34 ;
805- // pin_modeButton = 25; //TODO remove comment. This won't be available until v1.1 of hardware
808+ pin_powerFastOff = 23 ;
809+ pin_modeButton = 25 ;
806810
807811 pin_IMU_RX = 14 ; // ESP32 UART2
808812 pin_IMU_TX = 17 ;
@@ -823,6 +827,9 @@ void beginBoard()
823827 pin_gpioExpanderInterrupt =
824828 2 ; // TODO remove on v1.1 hardware. Not used since all GPIO expanded pins are outputs
825829
830+ digitalWrite (pin_powerFastOff, LOW); // Low = Stay on. High = turn off.
831+ pinMode (pin_powerFastOff, OUTPUT);
832+
826833 DMW_if systemPrintf (" pin_bluetoothStatusLED: %d\r\n " , pin_bluetoothStatusLED);
827834 pinMode (pin_bluetoothStatusLED, OUTPUT);
828835
@@ -866,13 +873,12 @@ void beginBoard()
866873 present.gnss_lg290p = true ;
867874 present.antennaPhaseCenter_mm = 116.5 ; // Default to Torch helical APC, average of L1/L2
868875 present.fuelgauge_bq40z50 = true ;
869- present.charger_mp2762a = true ;
870876 present.button_powerLow = true ; // Button is pressed when low
871877 present.beeper = true ;
872878 present.gnss_to_uart = true ;
873879 present.needsExternalPpl = true ; // Uses the PointPerfect Library
874880 present.fastPowerOff = true ;
875- present.invertedFastPowerOff = true ; // Driving PWRKILL high will cause powerdown
881+ present.invertedFastPowerOff = true ; // Drive PWRKILL high to cause powerdown
876882
877883 // We can't enable GNSS features here because we don't know if lg290pFirmwareVersion is >= v05
878884 // present.minElevation = true;
0 commit comments