1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 03:19:58 +03:00
- Corrected BOXID for Change Mission
- Added 2nd PINIO (USER 4) to UART of F722-PX
This commit is contained in:
Darren Lines 2022-10-01 13:26:04 +01:00
parent 3afb8d884a
commit aab4b0528d
4 changed files with 4 additions and 2 deletions

View file

@ -13,4 +13,4 @@ Three firmware variants are available.
* `inav_x.y.z_MATEKF722WPX.hex`
* `inav_x.y.z_MATEKF722PX_PINIO.hex`
The WPX vairant is for the MATEK F722-WPX wing flight controller. The PX variants are for the MATEK F722-PX and MATEK F722-HD flight controllers. The PINIO variant adds USER 3 PINIO as a replacement to UART 5 (TX)
The WPX vairant is for the MATEK F722-WPX wing flight controller. The PX variants are for the MATEK F722-PX and MATEK F722-HD flight controllers. The PINIO variant adds USER 3 PINIO as a replacement to UART 5 TX and USER 4 PINIO as a replacement to UART 5 RX.

View file

@ -96,7 +96,7 @@ static const box_t boxes[CHECKBOX_ITEM_COUNT + 1] = {
{ .boxId = BOXAUTOLEVEL, .boxName = "AUTO LEVEL", .permanentId = 54 },
{ .boxId = BOXPLANWPMISSION, .boxName = "WP PLANNER", .permanentId = 55 },
{ .boxId = BOXSOARING, .boxName = "SOARING", .permanentId = 56 },
{ .boxId = BOXCHANGEMISSION, .boxName = "MISSION CHANGE", .permanentId = 57 },
{ .boxId = BOXCHANGEMISSION, .boxName = "MISSION CHANGE", .permanentId = 59 },
{ .boxId = CHECKBOX_ITEM_COUNT, .boxName = NULL, .permanentId = 0xFF }
};

View file

@ -33,6 +33,7 @@ void targetConfiguration(void)
pinioBoxConfigMutable()->permanentId[1] = BOX_PERMANENT_ID_USER2;
#ifdef MATEKF722PX_PINIO
pinioBoxConfigMutable()->permanentId[2] = BOX_PERMANENT_ID_USER3;
pinioBoxConfigMutable()->permanentId[3] = BOX_PERMANENT_ID_USER4;
#endif
serialConfigMutable()->portConfigs[6].functionMask = FUNCTION_FRSKY_OSD;

View file

@ -158,6 +158,7 @@
#ifdef MATEKF722PX_PINIO
#define PINIO3_PIN PC12 // UART 5 TX - USER 3 PINIO
#define PINIO4_PIN PD2 // UART 5 RX - USER 4 PINIO
#endif
// *************** LEDSTRIP ************************