Update MissionRotation.lua

Cosmetics
This commit is contained in:
Marco Robustini 2024-12-10 18:13:24 +01:00 committed by GitHub
parent acb0409d94
commit 32daea7cd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 6 deletions

View File

@ -1,9 +1,11 @@
-- Script to load one of up to 10 mission files based on AUX switch state --[[
-- Always loads mission0.txt at boot, cycles missions on AUX high if held less than 3 seconds - Script to load one of up to 10 mission files based on AUX switch state
-- Reset the mission0.txt if AUX is high for more than 3 seconds - Always loads mission0.txt at boot, cycles missions on AUX high if held less than 3 seconds
-- Prevents mission change if the vehicle is in AUTO mode - Reset the mission0.txt if AUX is high for more than 3 seconds
-- Prevents the script from loading if the vehicle is in AUTO - Prevents mission change if the vehicle is in AUTO mode
-- For each loaded mission it also shows the number of events it contains - Prevents the script from loading if the vehicle is in AUTO
- For each loaded mission it also shows the number of events it contains
--]]
local MAV_SEVERITY = {EMERGENCY=0, ALERT=1, CRITICAL=2, ERROR=3, WARNING=4, NOTICE=5, INFO=6, DEBUG=7} local MAV_SEVERITY = {EMERGENCY=0, ALERT=1, CRITICAL=2, ERROR=3, WARNING=4, NOTICE=5, INFO=6, DEBUG=7}
local rc_switch = rc:find_channel_for_option(24) local rc_switch = rc:find_channel_for_option(24)