From 02e9bf6ff565ea3fe791ab9e74c2556b3a18b586 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 14 Feb 2023 02:46:30 +0000 Subject: [PATCH] AP_Scripting: drivers: ignore luacheck warnings --- libraries/AP_Scripting/drivers/EFI_HFE.lua | 2 ++ libraries/AP_Scripting/drivers/EFI_SkyPower.lua | 1 + libraries/AP_Scripting/drivers/mount-djirs2-driver.lua | 1 + 3 files changed, 4 insertions(+) diff --git a/libraries/AP_Scripting/drivers/EFI_HFE.lua b/libraries/AP_Scripting/drivers/EFI_HFE.lua index f15448d129..aace6edac3 100644 --- a/libraries/AP_Scripting/drivers/EFI_HFE.lua +++ b/libraries/AP_Scripting/drivers/EFI_HFE.lua @@ -1,6 +1,8 @@ --[[ EFI Scripting backend driver for HFE based on HFEDCN0191 Rev E --]] +-- luacheck: only 0 + -- Check Script uses a miniumum firmware version local SCRIPT_AP_VERSION = 4.3 diff --git a/libraries/AP_Scripting/drivers/EFI_SkyPower.lua b/libraries/AP_Scripting/drivers/EFI_SkyPower.lua index 257ed23d44..ba75519a99 100644 --- a/libraries/AP_Scripting/drivers/EFI_SkyPower.lua +++ b/libraries/AP_Scripting/drivers/EFI_SkyPower.lua @@ -11,6 +11,7 @@ CAN_P1_DRIVER 1 (First driver) CAN_D1_BITRATE 500000 (500 kbit/s) --]] +-- luacheck: only 0 -- Check Script uses a miniumum firmware version local SCRIPT_AP_VERSION = 4.3 diff --git a/libraries/AP_Scripting/drivers/mount-djirs2-driver.lua b/libraries/AP_Scripting/drivers/mount-djirs2-driver.lua index 75d17b88a1..93d3ab6b71 100644 --- a/libraries/AP_Scripting/drivers/mount-djirs2-driver.lua +++ b/libraries/AP_Scripting/drivers/mount-djirs2-driver.lua @@ -1,4 +1,5 @@ -- mount-djirs2-driver.lua: DJIRS2 mount/gimbal driver +-- luacheck: only 0 --[[ How to use