aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-07-2027-158/+156
|\
| * Multiple wakeup sources (#290)Kozova12021-07-144-49/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
| * Set correct refresh times for lvgl (#488)Riku Isokoski2021-07-142-6/+7
| |
| * Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-07-132-2/+10
| |\
| | * Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2021-07-132-2/+10
| | |
| * | Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-137-49/+11
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| | * LVGL use system tickRiku Isokoski2021-07-077-51/+11
| | |
| * | Merge branch 'develop' into notify-battery-levelJean-François Milants2021-07-132-36/+48
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/BatteryInfo.cpp
| * | | Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-1117-68/+71
| | | | | | | | | | | | | | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* | | | Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-07-1234-602/+714
|\ \ \ \ | | |/ / | |/| |
| * | | Refactor trig functions into LUT (#476)Jonathan Vander Mey2021-07-111-32/+44
| | | | | | | | | | | | | | | | | | | | | | | | Replaced the use of the standard library trig functions with a LUT-based implementation instead. The standard library implementations produce more accurate results but the usage here doesn't need that. This ends up saving nearly 7kB of binary size.
| * | | Modify status text in BatteryInfo so it fits on screen (#437)kieranc2021-07-111-4/+4
| |/ / | | | | | | * Modify status text in BatteryInfo so it fits on screen
| * | Change step gauge range to 100 and calculate progress as percantage (#468)kieranc2021-07-111-3/+3
| | |
| * | Using littlefs (#438)joaquim.org2021-07-1110-130/+365
| |/ | | | | | | | | | | | | | | | | * add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
| * Improve stopwatch (#432)Riku Isokoski2021-07-043-115/+90
| | | | | | | | | | | | | | * Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
| * Whitespace and brace fixes (#456)Avamander2021-07-042-17/+15
| | | | | | | | | | * Brace style and whitespace fixes * Additional whitespace fixes
| * clang-formatRiku Isokoski2021-07-041-6/+7
| |
| * Condense firmware validation codeRiku Isokoski2021-07-042-28/+10
| |
| * Improve paddle gameRiku Isokoski2021-07-032-126/+50
| |
| * Inititialize members in class declarationJonathan Vander Mey2021-07-022-22/+12
| | | | | | | | Also added initializers for previously unintialized members.
| * Move local-only function into anonymous namespaceJonathan Vander Mey2021-07-021-4/+3
| |
| * Make MusicService UUID objects static constexprJonathan Vander Mey2021-07-022-22/+31
| |
| * Eliminate reinterpret_castingJonathan Vander Mey2021-07-021-26/+26
| |
| * and metronome icon (#439)Bryton Hall2021-07-024-7/+19
| | | | | | * add drum icon for metronome app
| * Float voltage to int (#444)Riku Isokoski2021-07-025-34/+17
| | | | | | | | * Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
| * Fix call notification button alignmentRiku Isokoski2021-07-021-20/+12
| |
| * static_cast cleanupAvamander2021-07-022-3/+3
| |
| * Fixed a bunch of format specifiersAvamander2021-07-024-11/+11
| |
* | Fix bad mergeKieran Cawthray2021-06-291-27/+0
| |
* | Replace font fileKieran Cawthray2021-06-291-0/+0
| |
* | Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-06-298-19/+95
|\|
| * Add PineTimeStyle watchface (#334)kieranc2021-06-2910-0/+1734
| | | | | | | | | | | | | | | | | | | | | | | | | | * PineTimeStyle * Move GPL license header * Add step count gauge - replaces heartrate in sidebar * Enable 12/24h functionality * Set step gauge outer to be white when step goal is reached * Add font source file * Move static needle_colors array to member variable * Add documentation on generating a font * Replace .ttf with Google version, add link to font page Co-authored-by: JF002 <JF002@users.noreply.github.com>
| * SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-266-19/+50
| | | | | | | | | | | | * Retrieve and display bootloader version - Display bootloader version on System Info screen - Enable SPI flash sleep mode if bootloader version >= 1.0.0 * Wait for SPI flash to wakeup before starting OTA DFU
* | Add reset button, reduce button opacityKieran Cawthray2021-06-272-12/+37
| |
* | Fix the fix, whoopsKieran Cawthray2021-06-251-7/+7
| |
* | Add a check to set default colors if all colors are whiteKieran Cawthray2021-06-251-0/+7
| |
* | Make it loop around when you get to the end of the list of colorsKieran Cawthray2021-06-251-0/+28
| |
* | Fix off-by-one error, reduce step gauge needle widthKieran Cawthray2021-06-252-5/+5
| |
* | Use colors from settings for PineTimeStyle watchfaceKieran Cawthray2021-06-252-5/+10
| |
* | Move array to member variable, retrieve colors from settings for displayKieran Cawthray2021-06-252-13/+10
| |
* | Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2021-06-257-199/+213
|\|
| * update main font to keep diffs for future changes small (#420)Florian2021-06-223-188/+204
| | | | | | | | | | | | * update font with jetbrains mono v2.225 and the current converter * added the tff file for JetBrains Mono to ensure everybody is using the same version Co-authored-by: Florian <florian@florian-thinkpad.local>
| * Fix typo in variable names (#430)Jonathan Vander Mey2021-06-222-7/+7
| |
| * Removed an illogical comparison from SystemInfo and St7789 driver (#449)Avamander2021-06-222-4/+2
| | | | | | * Removed an illogical comparison
* | PineTimeStyle color picker tidyingKieran Cawthray2021-06-242-56/+5
| |
* | PineTimeStyle color picker add settings integrationKieran Cawthray2021-06-242-45/+84
| |
* | PineTimeStyle color picker initial commitKieran Cawthray2021-06-247-2/+385
| |
* | Move static needle_colors array to member variableKieran Cawthray2021-06-232-1/+1
| |
* | Add font source fileKieran Cawthray2021-06-221-0/+0
| |
* | Set step gauge outer to be white when step goal is reachedKieran Cawthray2021-06-211-2/+6
| |