Commit graph

11 commits

Author SHA1 Message Date
nwert 694a8b5395 Fixed screen brightness problems (tested on 1.0.0 and 2.0.0). Some refactoring. 2018-06-15 23:38:09 +12:00
Kostas Missos b2dd070d10 [INI] Fix memory leaks + other fixes (#38)
* [INI] Fix memory leaks + other fixes

* Add ini_free
* check and return if NULL pointer in free()
* Add button check with timeout
* Fix a bug in menu rendering that tries to parse a string without existing
* Change initial cnt value to max (fixes menus with first entry not a selectable entry)
* Some & ? clarifications

* [INI] Add get selected boot cfg

- This allows to free ini as we launch the firmware and have the lowest mem leak

* [INI] Rename ini section clone/free functions
2018-06-13 11:34:32 +12:00
nwert 120e8f5870 Fix all warning. 2018-06-08 21:42:24 +12:00
Kostas Missos 16ac26f583 [DP/GFX/SDMMC] Bugfixes
- Sanitize framebuffer. Original idea from @StevenMattera
- Change clear framebuffer to memset (for grey colors), for performance (we don't use alpha blending, so it does not matter to set it to 0xFF).
- Enable screen backlight after gfx init
- Reduce wait time for emmc/sd read/write retries to 100ms.
2018-06-06 13:29:38 +03:00
Kostas Missos c43b6f8a5d SD errata, bugfixes, replace hardcoded values 2018-06-03 22:27:15 +12:00
Kostas Missos 54a0a353bc Bug fixes, wording, etc 2018-06-03 22:27:15 +12:00
Kostas Missos b2762d737d Small cosmetic fixes 2018-05-28 18:27:02 -07:00
Kostas Missos 997e250c43 [Menu] Add captions and seperators
Additionally, skip selection of them to retain flow and maintain auto scroll.
2018-05-25 01:28:03 -07:00
Kostas Missos 03729bddd5 [Main] Back/text color to subtle dark/light grey 2018-05-25 01:28:03 -07:00
Kostas Missos 6e82dabb22 [Tools] Dump in 1GB parts if sd <=8GB + tui tweak
Tui tweak:
Support auto scroll.
2018-05-21 12:34:03 -07:00
nwert 8365426fc3 So it has come to this. 2018-05-01 17:22:03 +12:00