From 5a980e04a8615aed7b478a24d2e442a9f9c4257b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 5 Sep 2023 17:00:37 +1000 Subject: [PATCH] AP_Scripting: added docs for log_file_content --- libraries/AP_Scripting/docs/docs.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Scripting/docs/docs.lua b/libraries/AP_Scripting/docs/docs.lua index d1242a0f2b..c4f4525ed3 100644 --- a/libraries/AP_Scripting/docs/docs.lua +++ b/libraries/AP_Scripting/docs/docs.lua @@ -58,6 +58,9 @@ logger = {} ---@param data1 integer|number|uint32_t_ud|string -- data to be logged, type to match format string function logger:write(name, labels, format, units, multipliers, data1, ...) end +-- log a files content to onboard log +---@param filename string -- file name +function logger:log_file_content(filename) end -- i2c bus interaction ---@class i2c