aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'call-improvements' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-08-142-10/+34
|\ | | | | | | | | | | | | into Riksu9000-call-improvements # Conflicts: # src/displayapp/screens/Metronome.cpp
| * ImprovementsRiku Isokoski2021-08-012-28/+24
| |
| * Merge branch 'develop' into HEADRiku Isokoski2021-08-0128-372/+665
| |\
| * | cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa2021-05-162-2/+2
| | | | | | | | | | | | additional whitespaces
| * | implemented continuous vibration pattern for incoming callsFlorian Kraupa2021-05-162-8/+35
| | |
* | | Merge pull request #483 from Riksu9000/fix_adcJF0022021-08-102-57/+16
|\ \ \ | | | | | | | | Fix misconfigured ADC and remove now unnecessary filtering
| * | | Remove floating point calculationRiku Isokoski2021-08-011-2/+2
| | | |
| * | | Increase ADC precisionRiku Isokoski2021-07-271-4/+4
| | | |
| * | | Merge branch 'develop' into fix_adcRiku Isokoski2021-07-272-13/+35
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'develop' into fix_adcRiku Isokoski2021-07-136-17/+28
| |\ \ \
| * | | | Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski2021-07-122-48/+4
| | | | |
* | | | | Code cleaning in Clock, WatchFaceAnalog, WatchFaceDigital and PineTimeStyle, ↵Jean-François Milants2021-08-101-10/+10
| |_|/ / |/| | | | | | | | | | | inspired by PR #232 by nscooling.
* | | | Make firmware updating more foolproof (#469)Riku Isokoski2021-07-221-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | Multiple wakeup sources (#290)Kozova12021-07-141-8/+31
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-116-21/+29
|/ / | | | | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* | Using littlefs (#438)joaquim.org2021-07-114-112/+314
| | | | | | | | | | | | | | | | | | * 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
* | Whitespace and brace fixes (#456)Avamander2021-07-041-1/+2
| | | | | | | | | | * Brace style and whitespace fixes * Additional whitespace fixes
* | 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
| |
* | Float voltage to int (#444)Riku Isokoski2021-07-022-8/+12
| | | | | | | | * Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
* | static_cast cleanupAvamander2021-07-021-1/+1
| |
* | SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-261-0/+5
| | | | | | | | | | | | * 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 support for BMA425 acceleration sensor. (#440)JF0022021-06-192-0/+21
| | | | | | * Add support for BMA425 acceleration sensor.
* | Fix signed/unsigned comparison warningJonathan Vander Mey2021-06-121-1/+1
| | | | | | | | | | | | Changed type of encodedBufferIndex to size_t to eliminate warning. It is fine as a size_t as its only ever compared to another size_t and used as an array index.
* | Merge pull request #359 from Avamander/patch-2JF0022021-06-122-157/+95
|\ \ | | | | | | Used a macro for UUID generation, switched from C-style casts to reinterpret_cast, renamed callback
| * | Updated license header yearAvamander2021-05-172-2/+2
| | |
| * | Used a macro for UUID generation, switched from C-style casts to ↵Avamander2021-05-172-155/+93
| |/ | | | | | | reinterpret_cast, renamed callback
* | Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-0613-49/+44
| | | | | | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* | Timer App (#355)Florian2021-05-203-1/+100
| | | | | | | | | | | | | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* | Emit event on power-present toggle (#320)David Ventura2021-05-161-1/+0
|/ | | | | | | | | | | | | | | * Emit event on power-present toggle * clang-format on changes * also update battery status on any event * update comments; remove double battery update * Fix formatting * Vibrate shortly on charging event * debounce charge event
* Merge pull request #298 from joaquimorg/StepsAppJF0022021-05-152-4/+12
|\ | | | | New Steps app
| * Merge branch 'develop' ofJoaquim2021-04-2655-1874/+1626
| |\ | | | | | | | | | https://github.com/JF002/InfiniTime into StepsApp
| * | Fix button size and default step goalJoaquim2021-04-201-1/+1
| | |
| * | New Steps appJoaquim2021-04-192-3/+9
| | | | | | | | | | | | | | | | | | Settings to set the steps goal More detail in Motion app New 42px Font
* | | Fix #209. Use int8_t for PPG data arraydavid2021-05-012-8/+8
| |/ |/|
* | Changed access modified indentationAvamander2021-04-2429-64/+64
| |
* | Reformatted all the files according to clang-format styleAvamander2021-04-2456-1886/+1636
|/
* In order to stabilize the battery reading,Joaquim2021-04-162-8/+22
| | | | | | I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-0914-70/+354
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
| * Merge branch 'develop' into notification-titleJean-François Milants2021-04-099-64/+322
| |\ | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/Notifications.cpp
| | * Merge pull request #259 from JF002/fix-music-app2JF0022021-04-091-1/+1
| | |\ | | | | | | | | Fix music app
| | | * Fix music app :Jean-François Milants2021-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | - Enable LVGL animation (and disable groups, which were not used), and set the speed. - Fix disc animation and progress display by initializing lastIncrement at 0 (a random value will be used otherwise, in release build)
| | * | restore battery bufferJoaquim2021-04-082-10/+40
| | | |
| | * | Fix wake up lock in twiJoaquim2021-04-052-29/+31
| | | | | | | | | | | | | | | | optimize battery code
| | * | double tap wakeup error fixJoaquim2021-04-042-54/+67
| | | | | | | | | | | | | | | | battery nonblocking read
| | * | Big UI and navigation RewriteJoaquim2021-04-046-13/+226
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
| * | Ignore notification with empty message.Jean-François Milants2021-04-042-4/+10
| | |
| * | Add support for notification title. The notification buffer must contain the ↵Jean-François Milants2021-04-046-2/+22
| |/ | | | | | | | | | | title and the message separated by a '\0' character. If the buffer does not contain any \0, the whole buffer is considered to be the message of the notification. A default title will be displayed in the notification app.