summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-15New touch handler, with issuesRiku Isokoski
2021-07-14Merge branch 'develop' into update_touch_driverRiku Isokoski
2021-07-14Multiple wakeup sources (#290)Kozova1
* 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 Isokoski
2021-07-14Update touchpad driverRiku Isokoski
2021-07-14Merge branch 'develop' into fix_touchevent_tapRiku Isokoski
2021-07-13Merge branch 'develop' into fix_adcRiku Isokoski
2021-07-13Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants
2021-07-13Merge branch 'Riksu9000-lvgl_use_system_tick' into developJean-François Milants
2021-07-13Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants
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 Isokoski
2021-07-13Merge branch 'notify-battery-level' into developJean-François Milants
2021-07-13Merge branch 'develop' into notify-battery-levelJean-François Milants
# Conflicts: # src/displayapp/screens/BatteryInfo.cpp
2021-07-12Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski
2021-07-12Merge branch 'pinetimestyle-colorpicker' of github.com:kieranc/InfiniTime ↵Kieran Cawthray
into pinetimestyle-colorpicker
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-11Refactor trig functions into LUT (#476)Jonathan Vander Mey
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)wilsonjwco
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 Radmore
2021-07-11Modify status text in BatteryInfo so it fits on screen (#437)kieranc
* 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 Milants
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-11Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray
2021-07-11Change step gauge range to 100 and calculate progress as percantage (#468)kieranc
2021-07-11Using littlefs (#438)joaquim.org
* 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-09Code optimizations in SettingSetDate and SettingSetTimeTim Taenny
Instead of calling lv_obj_align after each button click, the labels have their auto_realign property set.
2021-07-09Code optimizations in SettingSetTimeTim Taenny
The positions of the labels are controlled by #define's, just like in SettingSetDate.
2021-07-09Modified Settings menu as per suggestionTim Taenny
Moved "Set date" and "Set time" to the second page of the Settings menu.
2021-07-09Code optimizations in SettingSetDateTim Taenny
Using static method of DateTimeController for retrieving month texts instead of implementing it in SettingSetDate again.
2021-07-09Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny
Added static methods to return the text of a given month or dayOfWeek.
2021-07-09Code optimizations in SettingSetTimeTim Taenny
2021-07-09Code optimizations in SettingSetDateTim Taenny
2021-07-09Added new menu entries to Settings pagetimaios
2021-07-09Added new screens to DisplayApp.cpptimaios
2021-07-09Added new screens to the list of applicationstimaios
2021-07-09Include new screens in CMakeLists.txttimaios
2021-07-09Added new screen: SettingSetDatetimaios
2021-07-09Added new screen: SettingSetTimetimaios
2021-07-07LVGL use system tickRiku Isokoski
2021-07-06Change step gauge to use percentage of goal for progressKieran Cawthray
2021-07-04Improve stopwatch (#432)Riku Isokoski
* Improve stopwatch more * Make sure sleep gets reenabled * Cleanup and clang-format
2021-07-04Whitespace and brace fixes (#456)Avamander
* Brace style and whitespace fixes * Additional whitespace fixes
2021-07-04clang-formatRiku Isokoski
2021-07-04Condense firmware validation codeRiku Isokoski
2021-07-03Improve paddle gameRiku Isokoski
2021-07-02Inititialize members in class declarationJonathan Vander Mey
Also added initializers for previously unintialized members.
2021-07-02Move local-only function into anonymous namespaceJonathan Vander Mey
2021-07-02Make MusicService UUID objects static constexprJonathan Vander Mey
2021-07-02Eliminate reinterpret_castingJonathan Vander Mey
2021-07-02and metronome icon (#439)Bryton Hall
* add drum icon for metronome app
2021-07-02Float voltage to int (#444)Riku Isokoski
* Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion