Files
edgetx-gx12/radio/src
Jesper FrickmannandGitHub 83fbf1a7f8 feat(lua): Add getSourceValue (#2316)
* Moved getFieldInfo and getValue up right after related functions

* Modified getValue to return a valid status, so Lua can see if it got zero because of invalid source id

* Added new getSourceValue Lua function per Issue #781
Also added alias getSourceInfo for getFieldInfo

* Updated according to comment https://github.com/EdgeTX/edgetx/pull/2175#issuecomment-1245605114

* Replaced isFresh() by !isOld() as requested in https://github.com/EdgeTX/edgetx/pull/2316#issuecomment-1246759370

* Clean up `lua_pushtablenil` - tables cannot hold nil values

* Changed isFresh() to !isOld() ... AGAIN

* Return both `!isOld()` and `isFresh()`

* Return nil for all values if the item does not exist

* Return 0 instead of pushing three nil values

* Update documentation
2022-09-28 09:42:16 +10:00
..
2022-09-28 09:42:16 +10:00
2022-08-18 12:38:35 +10:00
2022-06-11 15:38:08 +02:00
2022-06-11 15:38:08 +02:00
2022-01-29 14:40:17 +10:00
WiP
2022-03-20 16:22:14 +01:00
2022-03-20 16:30:58 +01:00
2022-03-20 16:30:58 +01:00
2022-06-11 15:38:08 +02:00
2022-08-16 18:44:57 +10:00
2022-03-20 16:22:12 +01:00
2022-03-20 16:22:12 +01:00
2021-11-10 11:07:03 +01:00
2022-09-28 09:42:16 +10:00
2022-06-25 16:09:04 +02:00
WiP
2022-03-20 16:22:14 +01:00
2022-08-16 18:44:57 +10:00
2022-08-16 18:44:57 +10:00
2022-07-22 20:00:39 +10:00
2022-04-03 17:50:53 +02:00
2022-06-11 15:38:08 +02:00