Skip to content

Conversation

@geoffsim
Copy link
Contributor

@geoffsim geoffsim commented Apr 4, 2025

Add control for 2 and 3 camera switches.
Use CAMERA CONTROL 1 to select a camera on a 2 camera switch.
Use CAMERA CONTROL 2 to select camera 3 on a 3 camera switch.
Disable camera control when in camera menu and switch detected.
Assign each camera profile to each camera on the switch (ex, profile 1 for camera 1) when switch detected.
Synchronize video mode across all profiles when switch detected.
Display switch type detected on the VTX menu.
Display camera type detected on the VTX menu.

Additional.
Ensure Nano90 HV Flip is actioned when changed in the camera menu (will only change on save/exit at this time).
Use BOXID to determine location of ARM flag in status messages.
Correct spelling and/or clarify some function names and variables.
Add an UNUSED(param) definition to avoid gcc/g++ warnings when a parameter is not used in a function.
Update lifetime display in VTX menu to show minutes for the first hour and then only hours.

Add STARTUP_LOCK flag.
Minor tidyup of code changes.
Modify lifetime OSD display to show only hours after first hour of life.
Fix manual mode camera selection.
Fix camera selection bits for VTX and manual mode.
Set all outputs to follow register 5.
Set register 7 properly.
Request MSP_BOXIDS every 500ms when not armed.
Only requests MSP_RC messages when not armed.
Remove a few redundant variables.
…parse new message from iNav.

Calculate the position of the ARM bit in the status messages using boxids.
Update MSP_STATUS to process the additional boxid bits supplied when variant is BTFL.
Simplify the lock flags used during startup.
Minor code optimisation in the msp_send_command and msp_send_response functions.
Speed up BOXID parsing.
Display VTX Lifetime in minutes for the first hour, hours only thereafter.
Add support for 3 camera switch based on the PCA9557.
Swap cam1 and cam3 selection for 3-cam switch.
Only wait for camera power-up on 3-cam switch.
Ensure default camera (camera1) is selected during startup.
@ligenxxxx ligenxxxx merged commit b46c9f8 into hd-zero:main May 13, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants