From dd379af7ccffe5cac655aba44fa684da20c860ee Mon Sep 17 00:00:00 2001 From: TunaLobster Date: Fri, 24 Sep 2021 19:15:46 -0500 Subject: [PATCH] AP_Scripting: Add Z logger format to example --- libraries/AP_Scripting/examples/UART_log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Scripting/examples/UART_log.lua b/libraries/AP_Scripting/examples/UART_log.lua index 4d1767cf3d..9cc425c3b9 100644 --- a/libraries/AP_Scripting/examples/UART_log.lua +++ b/libraries/AP_Scripting/examples/UART_log.lua @@ -98,7 +98,7 @@ function update() -- care must be taken when selecting a name, must be less than four characters and not clash with an existing log type -- format characters specify the type of variable to be logged, see AP_Logger/README.md - -- not all format types are supported by scripting only: i, L, e, f, n, M, B, I, E, and N + -- not all format types are supported by scripting only: i, L, e, f, n, M, B, I, E, N, and Z -- Note that Lua automatically adds a timestamp in micro seconds logger.write('SCR','Sensor1, Sensor2, Sensor3','fff',table.unpack(log_data))