Browse Source

turn off 3.3v rail when powering off

liamcottle 3 months ago
parent
commit
2fdbfbdbf6
1 changed files with 6 additions and 0 deletions
  1. 6 0
      variants/lilygo_t_impulse_plus/TImpulsePlusBoard.h

+ 6 - 0
variants/lilygo_t_impulse_plus/TImpulsePlusBoard.h

@@ -48,6 +48,12 @@ public:
   }
 
   void powerOff() override {
+
+    // turn off 3.3v
+    digitalWrite(RT9080_EN, LOW);
+
+    // power off system
     sd_power_system_off();
+
   }
 };