From 718d308d918e8fc99176d8dba86e05ee36757e27 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Thu, 8 Aug 2024 12:06:06 +1000 Subject: [PATCH] parameter markdown - correct reboot in tables --- src/lib/parameters/px4params/markdownout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/parameters/px4params/markdownout.py b/src/lib/parameters/px4params/markdownout.py index 34e6f9e386..182324f671 100644 --- a/src/lib/parameters/px4params/markdownout.py +++ b/src/lib/parameters/px4params/markdownout.py @@ -81,7 +81,7 @@ If a listed parameter is missing from the Firmware see: [Finding/Updating Parame if bitmask_list: result += bitmask_output # Format the ranges as a table. - result += f"Reboot | minValue | maxValue | increment | default | unit\n--- | --- | --- | --- | --- | ---\n{reboot_required} | {min_val} | {max_val} | {increment} | {def_val} | {unit} \n\n" + result += f"Reboot | minValue | maxValue | increment | default | unit\n--- | --- | --- | --- | --- | ---\n{'✓' if reboot_required else ' ' } | {min_val} | {max_val} | {increment} | {def_val} | {unit} \n\n" self.output = result