From cdb9e49ccc45421094aa361a03e8b9c987d098d3 Mon Sep 17 00:00:00 2001 From: ot0tot <36753790+ot0tot@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:56:02 -0400 Subject: [PATCH] Update config.h (#412) Per the manual, VTX power is controlled by PINIO on USER1. The config does not have PINIO configured for USER1, so it is impossible to power the VTX. This PR sets PINIO2 to USER1 so it is available in the modes tab. Note that PINIO1 is used to inactivate the on-board WiFi when armed. https://www.diatone.us/products/mb-mk4-h743-v2-fc --- configs/MAMBAH743_2022B/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/MAMBAH743_2022B/config.h b/configs/MAMBAH743_2022B/config.h index 7ad9de05..9921e8b8 100644 --- a/configs/MAMBAH743_2022B/config.h +++ b/configs/MAMBAH743_2022B/config.h @@ -131,6 +131,7 @@ #define DEFAULT_CURRENT_METER_SCALE 80 #define PINIO1_CONFIG 129 #define PINIO1_BOX 0 +#define PINIO2_BOX 40 #define DEFAULT_GYRO_TO_USE GYRO_CONFIG_USE_GYRO_BOTH #define GYRO_1_SPI_INSTANCE SPI1 #define GYRO_1_ALIGN_YAW 0