| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Store history of acceleration values for the y and z axes.
|
| |
|
|
|
|
| |
The accumulated speed was calculated by dividing first and multiplying
after, which results in more rounding errors than if you multiply first
and then divide. The values aren't big enough to overflow.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
creation. (#1774)
This commit changes the order for the notification struct fields to allow the creation of notifications using a string literal.
```cpp
NotificationManager::Notifiation notification {
"String literal with notification text",
42,
NotificationManager::Categories::SimpleAlert
};
```
Co-authored-by: minacode <minamoto9@web.de>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* ShakeWake: Fixed instant wake after sleep issue in certain positions
Add lastX var to track the previous x acceleration for correct calculation of speed.
Reorder axes for clarity.
---------
Co-authored-by: Isaac <114504394+isaacc27@users.noreply.github.com>
Co-authored-by: FintasticMan <52415484+FintasticMan@users.noreply.github.com>
|
| |
|
|
|
| |
Weather display for PineTimeStyle
Documentation : https://wiki.pine64.org/wiki/PineTimeStyle and https://wiki.pine64.org/wiki/Infinitime-Weather
|
| |
|
|
|
|
|
| |
change watch face from int to enum
---------
Co-authored-by: minacode <minamoto9@web.de>
|
| |
|
|
|
|
|
| |
New implementation of the heart rate sensor data processing using a frequency based PPG algorithm.
The HRS3300 settings are fine-tuned for better signal to noise at 10Hz.
The measurement delay is now set to 100ms.
Enable and use the ambient light sensor.
FFT implementation based on ArduinoFFT (https://github.com/kosme/arduinoFFT, GPLv3.0).
|
| | |
|
| |
|
|
| |
TimerController instance was moved to DisplayApp.
|
| |
|
|
| |
We should be able to assume MotionController is safe to use.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also move one-line functions to header.
|
| |
|
|
| |
Could be used for other motion-based algorithms in the future.
|
| | |
|
| |
|
|
|
| |
These could be used for other motion-based algorithms in the future.
Also fix includes.
|
| | |
|
| |
|
|
| |
This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
|
| |
|
|
|
|
| |
Previously, the LVGL driver for the filesystem was initialized in the class FS. However, since 6f942e2, the order of the initializations was incorrect : the driver was initialized (FS::LVGLFileSystemInit()) before LVGL (LittleVgl.Init()), which means that the driver registration was probably dropped when LVGL was initialized.
The LVGL driver is now initialized in LittleVgl.Init(), which seems to make much more sense, since all LVGL drivers are initialized there. This way, we ensure that the initialization of the drivers is consistent.
|
| | |
|
| |
|
|
| |
DateTimeController can provide everything we need.
|
| | |
|
| |
|
|
|
|
| |
The systick doesn't need to be updated when setting time.
Also removed unused nrf_rtc.h includes.
|
| |
|
|
|
| |
Vibrations should be associated with something happening on the UI.
Therefore SystemTask should not be controlling the motor.
|
| | |
|
| |
|
|
|
| |
I find this format easier to read, because the definitions are at the
expected indentation, making it easier to find what I'm looking for.
|
| |
|
|
|
|
| |
Fix warnings.
Some clang-formatting was necessary.
DebugPins is unused and was removed.
|
| |
|
|
| |
Values calculated using multiple tests on 3 PineTimes
|
| |
|
|
| |
In my PR updating clang-format, I forgot to also format the headers.
|
| |
|
|
|
| |
Also add configuration options only available in 13 and 14.
Fixes warning about -fstack-usage in clang-tidy check.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Don't enable coding conventions from unrelated projects. Only enable
generic checks.
|
| | |
|
| |
|
|
| |
* Min/Max function fixes
* Faster way to calculate day start
|
| |
|
|
|
|
|
|
| |
Add linear approximation class and use it to better model the non-linear
discharge curve of the battery.
Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For
reference the maximum observed voltage is 4.21V during charging.
|
| | |
|