summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-20Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray27-158/+156
2021-07-14Multiple wakeup sources (#290)Kozova14-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>
2021-07-14Set correct refresh times for lvgl (#488)Riku Isokoski2-6/+7
2021-07-13Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2-2/+10
2021-07-13Merge branch 'Riksu9000-lvgl_use_system_tick' into developJean-François Milants7-49/+11
2021-07-13Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants7-49/+11
https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
2021-07-13Adjust displayapp delay to compensate time spent (#482)Riku Isokoski2-2/+10
2021-07-13Merge branch 'notify-battery-level' into developJean-François Milants17-68/+71
2021-07-13Merge branch 'develop' into notify-battery-levelJean-François Milants4-37/+50
# Conflicts: # src/displayapp/screens/BatteryInfo.cpp
2021-07-12Merge branch 'pinetimestyle-colorpicker' of github.com:kieranc/InfiniTime ↵Kieran Cawthray0-0/+0
into pinetimestyle-colorpicker
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray39-611/+754
2021-07-11Refactor trig functions into LUT (#476)Jonathan Vander Mey1-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.
2021-07-11Update buildAndProgram.md (#477)wilsonjwco1-1/+1
Corrected typo in example usage of cmake BUILD_DFU option. Changed from -BUILD_DFU=1 to -DBUILD_DFU=1
2021-07-11Add "metronome" to apps in readme (#479)Cameron Radmore1-0/+1
2021-07-11Modify status text in BatteryInfo so it fits on screen (#437)kieranc1-4/+4
* Modify status text in BatteryInfo so it fits on screen
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants17-68/+71
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-11Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray35-571/+701
2021-07-11Change step gauge range to 100 and calculate progress as percantage (#468)kieranc1-3/+3
2021-07-11Using littlefs (#438)joaquim.org11-130/+368
* 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
2021-07-07LVGL use system tickRiku Isokoski7-51/+11
2021-07-06Change step gauge to use percentage of goal for progressKieran Cawthray1-3/+3
2021-07-04Improve stopwatch (#432)Riku Isokoski3-120/+95
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-07-04Whitespace and brace fixes (#456)Avamander2-17/+15
* Brace style and whitespace fixes * Additional whitespace fixes
2021-07-04clang-formatRiku Isokoski1-6/+7
2021-07-04Condense firmware validation codeRiku Isokoski2-28/+10
2021-07-03Improve paddle gameRiku Isokoski2-126/+50
2021-07-02Inititialize members in class declarationJonathan Vander Mey2-22/+12
Also added initializers for previously unintialized members.
2021-07-02Move local-only function into anonymous namespaceJonathan Vander Mey1-4/+3
2021-07-02Make MusicService UUID objects static constexprJonathan Vander Mey2-22/+31
2021-07-02Eliminate reinterpret_castingJonathan Vander Mey1-26/+26
2021-07-02and metronome icon (#439)Bryton Hall4-7/+19
* add drum icon for metronome app
2021-07-02Float voltage to int (#444)Riku Isokoski5-34/+17
* Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
2021-07-02Fix call notification button alignmentRiku Isokoski1-20/+12
2021-07-02Disabled a few more unnecessary warnings, sorted a bitAvamander1-4/+6
2021-07-02Disabled new Clang-Tidy checks that are too noisyAvamander1-0/+2
2021-07-02Improved CLion configurationAvamander1-0/+23
2021-07-02static_cast cleanupAvamander2-3/+3
2021-07-02Fixed a bunch of format specifiersAvamander4-11/+11
2021-06-29Fix bad mergeKieran Cawthray1-27/+0
2021-06-29Replace font fileKieran Cawthray1-0/+0
2021-06-29Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray8-19/+95
2021-06-29Add PineTimeStyle watchface (#334)kieranc10-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>
2021-06-27Add reset button, reduce button opacityKieran Cawthray2-12/+37
2021-06-26SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix6-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
2021-06-25Fix the fix, whoopsKieran Cawthray1-7/+7
2021-06-25Add a check to set default colors if all colors are whiteKieran Cawthray1-0/+7
2021-06-25Make it loop around when you get to the end of the list of colorsKieran Cawthray1-0/+28
2021-06-25Fix off-by-one error, reduce step gauge needle widthKieran Cawthray2-5/+5
2021-06-25Use colors from settings for PineTimeStyle watchfaceKieran Cawthray2-5/+10
2021-06-25Move array to member variable, retrieve colors from settings for displayKieran Cawthray2-13/+10