Damjan Adamic
a6548a05d8
Completed list of conversions in luaGetValueAndPush()
2014-04-28 17:39:43 +02:00
Damjan Adamic
bff912aef6
Renamed __luaGetValue() to luaGetValueAndPush()
2014-04-28 17:23:58 +02:00
Damjan Adamic
16c6a94d35
Merge pull request #1018 from projectkk2glider/lua_development
...
Lua development
2014-04-28 12:49:51 +02:00
Damjan Adamic
01391aa6aa
Return 0 for all temeletry values, when telemetry not available.
2014-04-27 18:12:06 +02:00
Damjan Adamic
55d8a0ac8c
bug: Default value was not added for input type VALUE
2014-04-27 11:24:08 +02:00
Damjan Adamic
fbbe7e9cc6
Merge branch 'next'
2014-04-26 21:12:16 +02:00
Damjan Adamic
eac17bda08
Telemetry values are now returned as proper values (i.e. A1 voltage 4.5V is returned as 4.5) for model script inputs and getValue() function.
2014-04-26 21:10:54 +02:00
Damjan Adamic
06beced480
Removed symbol OPENTX_VERSION
2014-04-26 18:50:43 +02:00
Damjan Adamic
bd31c541f6
Order of outputs was wrong
2014-04-26 18:48:30 +02:00
Damjan Adamic
fc4cf73c89
Registered OpenTX version as symbol OPENTX_VERSION in Lua
...
Added PlayNumber()
2014-04-26 09:45:07 +02:00
Damjan Adamic
9285a3a9a1
Lua print() function works by using TRACE macro
2014-04-26 09:43:45 +02:00
Damjan Adamic
5d2aacb7d1
Fixes missing icons in menus and buttons on Fedora 20
2014-04-23 19:37:36 +02:00
Damjan Adamic
d9c1bf767f
Refactored luaGetValue(), my previous fix was incorrect.
2014-04-21 20:47:38 +02:00
Damjan Adamic
cfa25ab030
Bad indentation
2014-04-21 20:26:23 +02:00
Damjan Adamic
3815ab8c45
Return nil if value not found in luaGetValue()
2014-04-21 20:17:30 +02:00
Damjan Adamic
36409c37f4
SOURCE type input for model scripts missing getValue()
2014-04-21 17:21:02 +02:00
Damjan Adamic
a6ad130df7
Reverted commit 8c5fc3a01f (which prevented moving second mixer to the first line)
2014-04-21 12:22:25 +02:00
Damjan Adamic
3d35273f4f
Merge branch 'upstream/next'
2014-04-20 22:17:25 +02:00
Damjan Adamic
27600ba37e
Cosmetic changes
2014-04-20 22:12:55 +02:00
Damjan Adamic
fc92ad3a86
Prevent drag&drop between inputs and mixers
2014-04-20 21:29:08 +02:00
Damjan Adamic
65521d96d4
Code refactoring
...
Added documentation
2014-04-20 19:06:55 +02:00
Damjan Adamic
b70586bd9f
Reverted to original code (both work)
2014-04-20 18:31:54 +02:00
Damjan Adamic
a8c828f105
Corrected list items width (long items were wrapping)
...
Refactored inputs tab, same system as mixes tab (grouping of lines)
Fixed incorrect spacing for first list item
2014-04-20 18:27:28 +02:00
Damjan Adamic
0e7b420b71
Code cleanup
2014-04-20 15:40:40 +02:00
Damjan Adamic
95e7f7915b
Better implementation, spacing now correct, drag&drop working.
...
Inputs tab still needs spaces converted to
2014-04-20 14:22:54 +02:00
Damjan Adamic
3df9fcb67a
Working, but drawing is not perfect
2014-04-20 13:21:28 +02:00
projectkk2glider
4ccbc13f6a
Merge branch 'upstream/next'
2014-04-16 09:34:14 +02:00
Damjan Adamic
6354b83a0d
Fixes suggested by Bertrand. ExtraChannels not yet removed
2014-04-15 19:12:29 +02:00
Damjan Adamic
cd9facb147
Some more code style changes, getting used to openTX style.
2014-04-15 18:56:09 +02:00
Damjan Adamic
7f7c722429
More cosmetic changes
2014-04-15 18:53:00 +02:00
Damjan Adamic
4850541002
Fixes suggested by Bertrand
2014-04-15 18:47:47 +02:00
Damjan Adamic
52954b1be4
* Added space between channels in mixers tab, amount defined by MIX_ROW_HEIGHT_INCREASE
...
* Added highlighting of selected channel when used as source in other channels (Ctrl+T or context menu->Toogle highlight)
* Added leading zero to channel name for ch_number < 10 (better alignment for CH1 to CH9)
2014-04-14 22:00:39 +02:00
Damjan Adamic
5a522fac4b
* One more leak fixed.
...
* debug print removed
2014-04-14 20:53:54 +02:00
Damjan Adamic
df954ae483
Fixed many memory leaks
2014-04-14 20:25:17 +02:00
Damjan Adamic
2cfd95a026
Make flightmode, switch and system file names case insensitive.
2014-04-11 20:16:51 +02:00
Damjan Adamic
e4416e6134
USB library fixes according to ST's published known bugs list
2014-04-04 22:03:31 +02:00
Damjan Adamic
e5cbba4ee2
Proper rounding for values that are scaled down. Displayed and spoken values affected.
...
Example: value 3.47V was spoken as 3.4V, new spoken value is 3.5V
2014-03-23 20:50:02 +01:00
Damjan Adamic
32090b8bbe
Compiler warning removed for gcc 4.8.3
2014-03-23 20:38:42 +01:00
Damjan Adamic
be5e6f678a
Unit bug corrected, other languages are ok
2014-03-23 20:36:53 +01:00
Damjan Adamic
fbe298bece
changed return value of usbPlugged() back to int
2014-03-22 11:17:13 +01:00
Damjan Adamic
86f136c733
* USB Joystick implemented
...
* USB Mass storage mode removed from openTX (this is now supported by Bootloader)
2014-03-21 20:58:41 +01:00