Browse Source

turn off 3.3v rail when powering off

liamcottle 3 tháng trước cách đây
mục cha
commit
2fdbfbdbf6
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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();
+
   }
 };