aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* src: Enable unused parameter warningRiku Isokoski2023-01-2428-92/+76
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* batt: Improve discharge curve valuesFinlay Davidson2023-01-231-9/+4
| | | | Values calculated using multiple tests on 3 PineTimes
* Format header filesFinlay Davidson2023-01-0923-0/+82
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-045-0/+11
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* formatminacode2022-12-271-1/+0
|
* changed to boolminacode2022-12-272-3/+8
|
* fixed a comment, set threshold to 15%minacode2022-12-272-2/+2
|
* cutout scaling hackminacode2022-12-271-5/+0
|
* formatminacode2022-12-271-1/+1
|
* added message, changed UIminacode2022-12-272-5/+9
|
* add percentage rescalingminacode2022-12-271-1/+7
|
* added low battery messageminacode2022-12-272-0/+7
|
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-187-32/+39
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* BLE CTS: fixed signedness of timezoneuli2022-11-253-9/+9
|
* WeatherService daily min/max temperature fixes (#1455)kieranc2022-11-251-6/+8
| | | | * Min/Max function fixes * Faster way to calculate day start
* Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2022-11-193-36/+51
| | | | | | | | 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.
* Update BatteryController.h with non-linear discharge curvehassless2022-11-192-5/+36
|
* add CTS local time characteristic and use it to provide UTC in ↵uli2022-11-116-53/+158
| | | | DateTimeController
* Checkbox list now receives a function pointer to call when the setting has ↵Jean-François Milants2022-10-111-8/+5
| | | | changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
* Edit all occurences of "watchface" to "watch face"mashuptwice2022-10-101-3/+3
|
* Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants2022-10-021-0/+12
|\ | | | | | | | | | | | | kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
| * CleanupKieran Cawthray2022-09-061-2/+1
| |
| * Implement persistent settingsKieran Cawthray2022-09-061-1/+14
| |
* | motorController: Fix infinite vibration on RunForDuration(0)Galdor Takacs2022-10-021-1/+1
| |
* | Merge branch 'watchface-casio-digital-G7710' of ↵Jean-François Milants2022-09-271-8/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:ITCactus/InfiniTime into ITCactus-watchface-casio-digital-G7710 # Conflicts: # src/components/settings/Settings.h # src/displayapp/screens/CheckboxList.cpp # src/displayapp/screens/CheckboxList.h # src/displayapp/screens/Clock.cpp # src/displayapp/screens/Clock.h # src/displayapp/screens/settings/SettingWatchFace.cpp
| * | Apply clang-format to Settings.hAutoformatter2022-06-301-1/+0
| | |
| * | post rebase fixesITCactus2022-06-301-4/+5
| | |
| * | [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-301-1/+11
| | | | | | | | | | | | number info
* | | Merge pull request #1024 from dmlls/infineat-prJF2022-09-273-1/+42
|\ \ \ | | | | | | | | Infineat Watchface + support for external resources.
| * \ \ Merge branch 'develop' into infineat-external-resourcesJean-François Milants2022-09-115-76/+118
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/Symbols.h # src/displayapp/screens/settings/SettingWatchFace.cpp # src/displayapp/screens/settings/SettingWatchFace.h
| * | | Make function DayOfWeekShortToStringLow constDiego Miguel2022-06-112-2/+2
| | | |
| * | | Bump settings version (#1)Diego Miguel2022-06-111-1/+1
| | | |
| * | | Implement SettingWatchFace listDiego Miguel2022-06-111-0/+9
| | | |
| * | | Fixes in side cover togglingDiego Miguel2022-06-111-4/+6
| | | |
| * | | Add lowercase days of the weekDiego Miguel2022-06-112-0/+6
| | | |
| * | | Add Infineat settings to settings controllerDiego Miguel2022-06-111-0/+24
| | | |
* | | | AlarmController: add const to SecondsToAlarm() functionReinhold Gschweicher2022-09-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The function `SecondsToAlarm()` doesn't change anything in the `AlarmController` object. Mark the function `const` to show this property.
* | | | Update src/components/settings/Settings.hAkseli2022-09-171-1/+1
| | | | | | | | | | | | Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* | | | add pink colorAkseli Lahtinen2022-09-171-2/+3
| |/ / |/| |
* | | Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski2022-08-211-2/+2
| |/ |/|
* | Dismiss notifications by swiping rightSimon Willshire2022-06-282-61/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
* | Remove backup brightness feature (#1180)Riku Isokoski2022-06-182-13/+1
|/ | | This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
* Switch to freertos timers (#1095)Michele Bini2022-06-064-34/+31
| | | | | | | | | | | * Use FreeRTOS timer for AlarmController * Use FreeRTOS timer for MotorController * Remove app_timer component from compilation as we now solely use FreeROTS timer * Simplify variable and text names for AlarmController and MotorController timers * Call ScheduleAlarm directly from StopAlerting, for recurring timers Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: NeroBurner <pyro4hell@gmail.com>
* Fix various typosluz paz2022-06-052-7/+7
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Apply clang-format to all C++ filesFinlay Davidson2022-06-0516-86/+121
|
* Replace C-style casts with static_castFinlay Davidson2022-06-051-8/+10
|
* Fix assertion failure in TimerControllerLudovic J2022-05-271-1/+1
| | | 0 is not valid for xTimerPeriodInTicks, changing it to 1 to pass the assertion
* Replace app_timer with FreeRTOS timersRiku Isokoski2022-04-252-61/+27
|
* Make functions const againRiku Isokoski2022-04-252-2/+2
|
* Update track progress in MusicService. Fix #127Riku Isokoski2022-04-252-2/+14
|