Commit Graph
11 Commits
Author SHA1 Message Date
dlktdrandPeter Feerick 172caf09bc Fix SBUS period not functioning, use defines over fixed numbers
SBUS period wasn't functional before. It was using the ppm.framelength, both in color and B/W.

Reduced maximum period to 32.5ms as it overflows the unsigned 16bit int otherwise

Tested with scope, color only.
2021-11-04 15:25:34 +10:00
dlktdrandPeter Feerick 5ef5b1e282 Fix Sbus single stepping 2021-11-04 15:25:34 +10:00
dlktdrandPeter Feerick 06522db5b9 Add defines for magic numbers 2021-11-04 15:25:34 +10:00
CliffandGitHub 3dedcad75a Category editor (#725)
* Allow model moving between categories

* Initial Commit - Categories Editor

* Don't allow move of active models & save

* Create group for categories, add, remove, delete working.

One glitch on add still...

* allow index choice on tabs page build

* Don't allow setting name null

* Change layout

* Null terminate string + save

* Optionally hide delete button

* Allow add a new model on touch if there are none

* Remove seperator

* Fix compiler warning

* Assign not compare

* Add Translation Strings for Model Categories and Models

* Use translated strings

* Update libopenui

* Add extra newline so scrolls proper

* Update libopenui
2021-09-18 21:21:57 +10:00
Cliff f5b75dd9f4 Invert PPM polarity 2021-09-14 20:40:48 -07:00
CliffandGitHub 0dac6037ae Trainer calibration button (#716)
* Calibrate all at once with button, number boxes just show data
* Switch r/o numberedit to statictext
2021-09-15 11:58:16 +10:00
Cliff a7dafd2d09 Fix bug if switch from other mode back to BT channel count is wrong 2021-09-13 19:38:28 -07:00
Cliff cd4de0561b Fix Bug in Bluetooth trainer channel start 2021-09-13 19:37:58 -07:00
Cliff cd5feefde9 Remove magic numbers 2021-09-13 19:37:20 -07:00
Cliff 0932636bea Allow PPM Slave/jack trainer limits set in dataconstants.h 2021-09-13 19:36:37 -07:00
542213de11 Add Bluetooth Trainer Options in Model Setup (#686)
* Initial Commit, Bluetooth Trainer options

* MasterBt & Slave working

* Cleanup BT Trainer

* Add extra defines so still works bluetooth disabled

* Add long string for not connected

* Make btMenu popup global

Also fixes not disconnecting if switches from master <-> slave bluetooth.

* Update libopenui

* Remove Global popup, add checks to if pop-up open

* Add subclass with an popup-opened bool

* Refresh GUI on BT mode change, except if pop-up open

* Don't update if OSK open

* Autoformatting

* Make trainer bottom spacer apply to all touch scns

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 12:00:14 +10:00