From 20f8da30e3c4169671928aa76f96e9094bfcc617 Mon Sep 17 00:00:00 2001 From: jfrickmann Date: Sun, 31 Jan 2021 18:27:42 -0500 Subject: [PATCH 1/4] Fixed issue #54 --- part_i_-_script_type_overview/mix.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/part_i_-_script_type_overview/mix.md b/part_i_-_script_type_overview/mix.md index 1d4b382..652cd69 100644 --- a/part_i_-_script_type_overview/mix.md +++ b/part_i_-_script_type_overview/mix.md @@ -49,9 +49,9 @@ CH1 [I4]Ail Weight(+100%) Every script must include a _return_ statement at the end, that defines its interface to the rest of OpenTX code. This statement defines: * script _input_ table \(optional, see [Input Table Syntax](../part_ii_-_opentx_lua_api_programming_guide/input_table_syntax.md)\) -* script _output_ table \(optional, see [Output Table Syntax](https://github.com/opentx/opentx-2-3-lua-reference-guide/tree/0d355d19f1961b689994cf78b84005864d33f9b5/output_table_syntax.md)\) -* script _init_ function \(optional, see [Init Function Syntax](https://github.com/opentx/opentx-2-3-lua-reference-guide/tree/0d355d19f1961b689994cf78b84005864d33f9b5/init_function_syntax.md)\) -* script _run_ function \(see [Run Function Syntax](https://github.com/opentx/opentx-2-3-lua-reference-guide/tree/0d355d19f1961b689994cf78b84005864d33f9b5/run_function_syntax.md)\) +* script _output_ table \(optional, see [Output Table Syntax](../part_ii_-_opentx_lua_api_programming_guide/output_table_syntax.md)\) +* script _init_ function \(optional, see [Init Function Syntax](../part_ii_-_opentx_lua_api_programming_guide/init_function_syntax.md)\) +* script _run_ function \(see [Run Function Syntax](../part_ii_-_opentx_lua_api_programming_guide/run_function_syntax.md)\) ### Example \(interface only\): From 83d56d1a954a41fcac6a93b0e2741e24511bb597 Mon Sep 17 00:00:00 2001 From: jfrickmann Date: Sun, 31 Jan 2021 18:35:22 -0500 Subject: [PATCH 2/4] Fixed issue #56 --- part_i_-_script_type_overview/function_scripts.md | 1 - 1 file changed, 1 deletion(-) diff --git a/part_i_-_script_type_overview/function_scripts.md b/part_i_-_script_type_overview/function_scripts.md index 5eeb226..540d5dc 100644 --- a/part_i_-_script_type_overview/function_scripts.md +++ b/part_i_-_script_type_overview/function_scripts.md @@ -57,7 +57,6 @@ return { run=run_func, init=init_func } The script below is an example of customized countdown announcements. Note that the init function determines which version of OpenTX is running and sets the unit parameter for playNumber\(\) accordingly. ```lua -local lstannounce local target local running = false From 0d9c6604c64ba11124303bcb36ca463f9696314c Mon Sep 17 00:00:00 2001 From: jfrickmann Date: Thu, 4 Feb 2021 13:11:46 -0500 Subject: [PATCH 3/4] Fix issue #58 --- .../settelemetryvalue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue.md b/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue.md index 5d7a75b..c448970 100644 --- a/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue.md +++ b/part_iii_-_opentx_lua_api_reference/general-functions-less-than-greater-than-luadoc-begin-general/settelemetryvalue.md @@ -8,7 +8,7 @@ * `subID` subID of the sensor, usually 0, valid range is from 0 to 7 * `instance` instance of the sensor \(SensorID\), valid range is from 0 to 0xFF * `value` fed to the sensor -* `unit` unit of the sensor [Full list](https://github.com/opentx/opentx-2-3-lua-reference-guide/tree/0d355d19f1961b689994cf78b84005864d33f9b5/appendix/units.html) +* `unit` unit of the sensor [Full list](../../part_vii_-_appendix/units.html) * `precision` the precision of the sensor * `0 or not present` no decimal precision. * `!= 0` value is divided by 10^precision, e.g. value=1000, prec=2 => 10.00. From d5b31cb624d6b75acb4d080758444afbf7374b1f Mon Sep 17 00:00:00 2001 From: jfrickmann Date: Sat, 6 Feb 2021 21:10:22 -0500 Subject: [PATCH 4/4] Fixed links in Acknowledgements --- acknowledgments.md | 13 ------------- introduction/acknowledgments.md | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 acknowledgments.md diff --git a/acknowledgments.md b/acknowledgments.md deleted file mode 100644 index 25cfe72..0000000 --- a/acknowledgments.md +++ /dev/null @@ -1,13 +0,0 @@ - -### Acknowledgments -The OpenTX team has no intention of making a profit from their work. OpenTX is free and open source and will remain free and open source. But OpenTX is more expensive to maintain than most open source projects. The reason is that there is a never ending flood of hardware to integrate and maintain code for. Hardware that costs. - -Another reason is that OpenTX maintains a build server that serves firmware compiled on demand. This is where OpenTX Companion orders your customized firmware. The server is not for free and the bandwidth is ever increasing with tens of thousands of firmware downloads each month. - -The OpenTX team is grateful to those who have donated to the project. You have helped making OpenTX and OpenTX Companion great. - -The [Github Donor List](https://github.com/opentx/opentx/blob/master/DONATIONS.txt) is updated at each OpenTX release. - -If you would like to contribute to OpenTX, donations are welcome and appreciated: - -[![](btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DJ9MASSKVW8WN) diff --git a/introduction/acknowledgments.md b/introduction/acknowledgments.md index 4efc0cd..554e6b2 100644 --- a/introduction/acknowledgments.md +++ b/introduction/acknowledgments.md @@ -6,9 +6,9 @@ Another reason is that OpenTX maintains a build server that serves firmware comp The OpenTX team is grateful to those who have donated to the project. You have helped making OpenTX and OpenTX Companion great. -The [Github Donor List](https://github.com/opentx/opentx/blob/master/DONATIONS.txt) is updated at each OpenTX release. +The [Github Donor List](https://github.com/opentx/opentx/blob/master/CREDITS.txt) is updated at each OpenTX release. If you would like to contribute to OpenTX, donations are welcome and appreciated: -[![](https://github.com/opentx/lua-reference-guide/tree/89b65e383782af902c0528c648021268417248da/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DJ9MASSKVW8WN) +[![](https://github.com/opentx/lua-reference-guide/raw/opentx_2.3/.gitbook/assets/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DJ9MASSKVW8WN)