AP_Scripting: added logging to EFI_Halo6000.lua driver

allows for log analysis of current/voltage
This commit is contained in:
Andrew Tridgell 2023-09-20 15:27:35 +10:00
parent 4cabe0f223
commit 4ca2277f1a

View File

@ -201,6 +201,9 @@ local function engine_control()
-- Set the EFI_State into the EFI scripting driver
efi_backend:handle_scripting(efi_state)
logger.write('H6K','Curr,Volt,CoolT,CylT,FuelPct', 'fffff',
out_current, out_volt, cool_temp, cyl_temp, fuel_pct)
end
-- update telemetry output for extra telemetry values