How to connect an external PINIO for MATEKF722mini in Inav
Hello,
I need advice on changing the PINIO in the latest INAV.
I have FC MatekF722mini, which has two PINIOBOX defined:
C08: PINIO1 OUT
C09: PINIO2 OUT
The PINIO is used as follows:

I want to add an external PINIO to power off the camera. https://www.banggood.com/Tinys-RealPit-VTX-Power-Switch-5V-28V-1A-for-FPV-Transmitter-p-1401301.html?rmmds=search&cur_warehouse=CN
However, when I connected it to an unused TX pin, and chose eg. RunCam device, so it didn't work like I wanted.
If I connected PINIO physically to pin S6 (B03) and modified it in FW - target.h, it worked (power off the camera) but it also turned off VTX and I don't want it because I use TBS SmartAudio.

Can you please advise me where to change to VTX not disconnect, ie. it did not disconnect the VBAT power supply for VTX, because I have the camera connected to + 5V and I only disconnect it via external PINIO. Thank you.
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
Problem solved by firmware modification.
Problem solved by firmware modification.
@romko1 Can you tell what you did to resolve this?
can you upload custom hex ?