Commit Graph
62 Commits
Author SHA1 Message Date
Raphael CoefficandBertrand Songis 27946ee92b [X7] fix #5911 and bmp loading (#6703)
* lcdDraw1bitBitmap now bit exact

* bmp rows are padded up to a multiple of 4 bytes
2019-09-03 07:11:20 +02:00
Bertrand SongisandGitHub f6646b0190 Bsongis/refactoring before x10 ui merge (#6678)
UI functions refactoring
2019-08-28 17:31:26 +02:00
Bertrand Songis 530deae84f Cosmetics 2019-08-12 12:28:14 +02:00
Bertrand Songis 4f180b157c Another overflow in timer mode display 2019-07-13 13:52:58 +02:00
3djc 680a1ba470 Cosmetics 2019-07-05 12:44:01 +02:00
3djc c0b3aa0ba6 Protect against neg x drawing 2019-07-05 12:40:25 +02:00
Bertrand SongisandGitHub 6516029fd1 Cosmetics (#6512)
Cosmetics
2019-06-17 16:09:09 +02:00
Bertrand SongisandGitHub 56a31f20d3 Bsongis/radio tools (#6484)
Lua tools now displayed in RADIO / TOOLS
Add a function to write CENTERED text with lcdDrawText
2019-06-08 10:42:29 +02:00
Bertrand Songis f83de20232 Same shutdown animation on all boards 2019-05-31 11:27:27 +02:00
Bertrand SongisandGitHub 670e101fa5 Bsongis/menus refactoring (#6463)
Menus refactoring
2019-05-29 16:04:09 +02:00
3djc 7b83864d5f Handle TIMEHOUR for 128x64 drawTimer. This brings 128 inb line with 212 and 480. Warning : TIMEHOUR was default behaviour previously for 128, this will likely expose issues in UI 2019-05-02 08:57:19 +02:00
Bertrand Songis c28210e3e4 Rotary encoder refactoring 2019-04-30 14:55:21 +02:00
Bertrand Songis c27489b543 Compilation fix 2019-04-29 20:32:36 +02:00
3djc 098415d531 Display module rather than receiver in non pxx2 2019-04-29 12:41:36 +02:00
Bertrand Songis 55898a4456 Compilation fix 2019-04-19 14:37:06 +02:00
3djc 1028cf10cc Show power meter max in both dBm and watts 2019-04-19 13:02:32 +02:00
Bertrand Songis 1e44324a1d Cosmetics 2019-04-16 17:58:10 +02:00
3djc 8a6e8184bd Display receiver name in telemetry field details 2019-04-04 16:01:53 +02:00
Bertrand Songis 16cd0cffe0 Mix sources shifted 2019-04-03 10:32:19 +02:00
3djc fbe9830a04 Use gyrX/Y instead of 1/2 2019-04-03 10:19:15 +02:00
Bertrand Songis a13ee14bbb [X-LiteS] Gyro added 2019-04-02 20:12:50 +02:00
Bertrand Songis eb2b82bf92 Fixes 2019-03-31 15:17:11 +02:00
3djc 63383f15c1 Add safety and context to spektrum and power meter 2019-03-31 12:24:07 +02:00
Bertrand Songis e4fa31be28 Rename char2idx to char2zchar 2019-02-21 10:35:48 +01:00
3djc b590a653d7 For registratoin ID testing 2019-02-06 11:52:00 +01:00
Bertrand Songis ea76998beb More AVR removal 2018-08-05 12:39:05 +02:00
Bertrand Songis db1d3fcb32 Remaining CPUARM removed 2018-07-11 13:33:51 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +02:00
Bertrand SongisandGitHub 99604dccc9 XLite support (#5806) 2018-04-25 23:07:04 +02:00
3djcandAndre Bernet 4a88660a3d Allow more the 2 hours digits for TIMEHOUR (#5715)
* Handle 3 digits or more in TIMEHOUR

* Cleanup
2018-03-04 13:09:59 +01:00
3djcandBertrand Songis aa527fc6bd GPS datetime display fixes (#5254)
* Fix x9

* Fix x7

* Apparently - is standard separator for dates

* Consistency
2017-10-03 07:45:40 +02:00
3djcandGitHub 019e2aee1b Merge pull request #5161 from opentx/3djc/Timer-name-handling
Timer name handling
2017-08-15 17:27:16 +02:00
3djc 8cb7031cf6 Cosmetics based on Bertrand's commments 2017-08-15 17:02:51 +02:00
Damjan AdamicandBertrand Songis a167e9f751 Fixes #5055: infinite loop in lcdDrawFilledRect() when h parameter is bigger than 127. Similar fixes in other places. (#5058) 2017-08-15 06:57:29 -07:00
3djc 871302a1b1 128x64 and 212x64 2017-08-15 10:49:59 +02:00
Bertrand SongisandKilrah 541aa459cf Lua drawBitmap on X7 2017-08-04 12:08:10 +02:00
Bertrand SongisandAndre Bernet 6304f0daf6 Sleep bitmap on X7 (#5125) 2017-08-04 10:41:36 +02:00
Bertrand SongisandGitHub 7434e330c8 3djc/rssi poweroff safety (#5126)
Shutdown RSSI Alert
2017-08-01 14:13:25 +02:00
3djcandBertrand Songis b7b7c48d8e x7/x9 GPS datetime fix (#5051)
* Fix x7 display in telemetry widget (only time is displayed)

* rename drawDate to a more specific name, since it is not generic
fix for x9

* Travis build fix

* Introduce time FONTSIZE_MASK macro

* Cosmetics based on Bertrand's last feedbacks
2017-06-28 20:28:57 +02:00
3djcandBertrand Songis 4c40aec8b3 x7/x9e startup review (#5033)
* Turn on X7 like it is done on X9

* 4 squares like shutdown + prep for firmware option to disable

* Compile option

* - rollback firmware option
- fast one second power on
- unchanged power off
- animation added for x7 power on
- animation for power off changed to 'removing' quarter instead of adding (ie the power on anim fills in, the power down fills out)

* Cosmetics

* Cosmetics
2017-06-18 20:55:49 +02:00
3djcandBertrand Songis 591522c25a fix drawSource (#4843) 2017-04-23 18:00:11 +02:00
3djcandBertrand Songis d4c3ff743b 3djc/x7 draw timer (#4764)
* Use drawText with tiem string like x12s. Change font ':' which where way to large for SMLSIZE

* MIDSIZE ':' lower dot was not horizontaly symetrical, moving it up one pixel

* Make it all ARM

* Let's try not to brake timer adjust

* Fix
2017-04-08 16:59:21 +02:00
Franck AguerreandBertrand Songis 49d1aafc1b Jivarofad/m2560 update (#4593)
* New drivers : buzzer/speaker, voice wtv20 / jq6500 , i2c

First commit, testings to be done

* Voice correction

* Better way to drive voice modules

Same thing as LCD drivers

* Issue #2337 (error mismatch) solved

* Font correction

* Fonts correction again

* oups...

* Voice modules (Companion) & flash saving (ST7920)

* Documentation update

* I2C driver correction

* Mega2560 directory renamed to mega2560

* M2560 driver correction

* Voice directory correction

* Voice=ON does not works with MEGA2560 (OFF/WTV20/JQ6500)

* Compliant to cmake documentation

* On M2560, audioAVR use playnumber et playduration declared in voice.h
Don't know why, must be discuted...

* ‘{’ token forgotten

* Simplier way for AVR voice
2017-03-18 09:44:47 +01:00
3djcandBertrand Songis 80b44444ec Fix lcdLastPos (#4487)
* Fix lcdLastPos
Introduce lcdLeftPos

* Cosmetics

* Cosmetics

* Non ARM code cleanup

* Move telem screen to midsize

* Fine tune

* Renaming
2017-03-04 10:16:45 +01:00
Damjan AdamicandBertrand Songis ee43d3fb97 Projectkk2glider/issue 4449 drawline (#4464)
* Gtest pattern changed

* Fixes #4449: lcdDrawLine_line() was wrong for slanted lines [128x64]

* Fixes #4449: lcdDrawLine_line() was wrong for slanted lines [480x272]

* lcdDrawLine() coordinates check moved to Lua API
2017-02-16 00:23:42 +01:00
Bertrand SongisandAndre Bernet b9bb831b7f Bsongis/horus flash external device (#4446)
* CMake options changed to UNEXPECTED_SHUTDOWN=YES/NO and  PWR_BUTTON=PRESS/SWITCH

* [X12S / X10] Flash an external device is now OK
2017-02-12 21:04:46 +01:00
Bertrand Songis fcadd48444 Cosmetics 2017-02-05 10:34:13 +01:00
3djcandBertrand Songis b17122acf8 Fix GPS display in telem screen for X9. (#4389)
* Fix for X9. Right now, it is working, but maybe could be improved later by moving to right aligned

* X7 work

* X7 and X9 working

* Another fix for processTelemetryData
2017-02-04 15:33:52 +01:00
Bertrand Songis 54d1cb8f9a [Companion] X7 EEPROM import fix
+ cosmetics
+ compilation error fixed on Manjaro
2017-01-21 23:56:34 +01:00
3djcandAndre Bernet 070d24ef66 fix curves on X7 (#4216)
* fix curve selection display on X7

* Fix undue telemety type row being show on telem screen

* Fix undue telemety type row being show on telem screen (reverted from commit f3d082f44fa70020d0787d7e7d3d5b494ef062b7)
2017-01-11 10:02:54 +01:00