fix(cpn): TX battery voltage input collided with left-horizontal stick slot (#7805)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
44da67ed7a
commit
feb1bee9a5
@@ -182,7 +182,9 @@ get_target_build_options() {
|
||||
|
||||
# Determine parallel job limit based on environment
|
||||
determine_max_jobs() {
|
||||
if [[ -n ${CMAKE_BUILD_PARALLEL_LEVEL} ]]; then
|
||||
if [[ -n ${MAX_JOBS} ]]; then
|
||||
: # explicit caller override, keep as-is
|
||||
elif [[ -n ${CMAKE_BUILD_PARALLEL_LEVEL} ]]; then
|
||||
MAX_JOBS=${CMAKE_BUILD_PARALLEL_LEVEL}
|
||||
elif [ -n "$GITHUB_ACTIONS" ]; then
|
||||
# Limit jobs in GitHub Actions to n-1 to avoid resource contention
|
||||
|
||||
@@ -47,9 +47,7 @@ if [[ -z ${EDGETX_VERSION_SUFFIX} ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "$GITHUB_ACTIONS" ]]; then
|
||||
MAX_JOBS=${MAX_JOBS:-3}
|
||||
fi
|
||||
determine_max_jobs
|
||||
|
||||
BUILD_DIR="build/wasm"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user