summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-08-15Avoid setting the sidebar blackKieran Cawthray1-0/+4
2021-08-15Remove duplicate code, minor fixesKieran Cawthray1-33/+19
2021-08-15Add check for randomise button in case colors clashKieran Cawthray1-0/+5
2021-08-15Add randomise button to color pickerKieran Cawthray2-0/+22
2021-08-12TidyingKieran Cawthray1-1/+0
2021-08-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray12-211/+81
2021-08-10Merge pull request #483 from Riksu9000/fix_adcJF0022-58/+17
Fix misconfigured ADC and remove now unnecessary filtering
2021-08-10Merge branch 'improve-battery-percentage-to-battery-icon-mapping' of ↵Jean-François Milants1-4/+4
https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping # Conflicts: # src/displayapp/screens/BatteryIcon.cpp
2021-08-10Code cleaning in Clock, WatchFaceAnalog, WatchFaceDigital and PineTimeStyle, ↵Jean-François Milants9-156/+60
inspired by PR #232 by nscooling.
2021-08-01Remove floating point calculationRiku Isokoski1-2/+2
2021-07-28Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray28-196/+260
2021-07-27Increase ADC precisionRiku Isokoski1-4/+4
2021-07-27Merge branch 'develop' into fix_adcRiku Isokoski33-268/+392
2021-07-25Increment settings value, remove old hacky fixKieran Cawthray2-21/+9
2021-07-25Tile event handler : read the event data only if the event is a "value ↵Jean-François Milants2-9/+11
changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
2021-07-25Fix compile warningsJonathan Vander Mey2-0/+3
2021-07-25Fix slow scrollRiku Isokoski2-4/+1
2021-07-25Fix cases where Get() isn't usedRiku Isokoski1-2/+6
2021-07-25Add new unique icons for some appsRiku Isokoski7-49/+79
2021-07-25Add task state info to SystemInfoRiku Isokoski1-10/+32
2021-07-25Code cleanup (#466)Riku Isokoski10-66/+42
* Code cleanup * Remove override again
2021-07-24Dim screen before sleep (#464)Riku Isokoski4-17/+54
* Implement dimming
2021-07-24Merge branch 'fix_touchevent_tap' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants4-40/+33
into Riksu9000-fix_touchevent_tap # Conflicts: # src/displayapp/DisplayApp.cpp
2021-07-24Add extra screen in settings to show scrollbar correctlyKieran Cawthray1-3/+3
2021-07-23Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray5-17/+52
2021-07-22Make firmware updating more foolproof (#469)Riku Isokoski5-17/+52
* Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
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-14Merge branch 'develop' into fix_touchevent_tapRiku Isokoski96-1306/+4012
2021-07-13Merge branch 'develop' into fix_adcRiku Isokoski24-102/+78
2021-07-13Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2-2/+10
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 'develop' into notify-battery-levelJean-François Milants2-36/+48
# Conflicts: # src/displayapp/screens/BatteryInfo.cpp
2021-07-12Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski2-48/+4
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray34-607/+719
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-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-11Change step gauge range to 100 and calculate progress as percantage (#468)kieranc1-3/+3
2021-07-11Using littlefs (#438)joaquim.org10-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
2021-07-07LVGL use system tickRiku Isokoski7-51/+11
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