About the diode for the Xiao ESP32-S3's voltage input

I’m using HardwareSerial and a TTL-to-USB converter for debugging, and I just switch off battery power before uploading, which for now works.

I’ve just tested it and everything works fine now that there is no voltage loss on the diode, so the ESP can get the full 5.2V to use in its voltage regulator. Thank you.