File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ class T1000eBoard : public mesh::MainBoard {
5656 digitalWrite (GPS_RESET, LOW);
5757 digitalWrite (GPS_SLEEP_INT, LOW);
5858 digitalWrite (GPS_RTC_INT, LOW);
59+ digitalWrite (GPS_EN, LOW);
5960 pinMode (GPS_RESETB, OUTPUT);
6061 digitalWrite (GPS_RESETB, LOW);
6162 #endif
@@ -68,6 +69,13 @@ class T1000eBoard : public mesh::MainBoard {
6869 digitalWrite (PIN_3V3_EN, LOW);
6970 #endif
7071
72+ #ifdef PIN_3V3_ACC_EN
73+ digitalWrite (PIN_3V3_ACC_EN, LOW);
74+ #endif
75+ #ifdef SENSOR_EN
76+ digitalWrite (SENSOR_EN, LOW);
77+ #endif
78+
7179 // set led on and wait for button release before poweroff
7280 #ifdef LED_PIN
7381 digitalWrite (LED_PIN, HIGH);
@@ -80,7 +88,7 @@ class T1000eBoard : public mesh::MainBoard {
8088 #endif
8189
8290 #ifdef BUTTON_PIN
83- nrf_gpio_cfg_sense_input (digitalPinToInterrupt ( BUTTON_PIN) , NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
91+ nrf_gpio_cfg_sense_input (BUTTON_PIN, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_HIGH);
8492 #endif
8593
8694 sd_power_system_off ();
You can’t perform that action at this time.
0 commit comments