| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Co-Authored-By: Patric Gruber <me@patric-gruber.at>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Expose SystemTask dependency controllers
Expose NotificationManager and Settings for use by the feature in next commit.
This is a memory efficient way for accessing SystemTask dependencies from
controllers that have SystemTask injected as a dependency.
Looks like each direct dependency injection uses 4 bytes RAM.
As InfiniTime is close to running out of RAM (using 16 more bytes causes build
to fail with "ld: region RAM overflowed with stack") it might be helpful to use
this approach more.
* Add setting to disable DFU and FS access
|
| |
|
|
|
| |
and save a few bytes of heap memory
Co-authored-by: Lionel Elie Mamane <lionel@mamane.lu>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
In the screens that use `DisplayApp *app` and pass it to a child item,
or use the reference just in the constructor. Afterwards the `app`
member is not used. So remove it from the private member variables.
Completely remove `app` parameter from `SettingDisplay` constructor as
it is unused.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
of the radio has actually changed. (#2037)
This fixes an issue where the BLE connected logo would disappear when opening and closing the BLE setting (without changing it) while InfiniTime was already connected to a companion app.
Co-authored-by: JustScott <development@justscott.me>
|
| |
|
|
|
|
| |
The list of watch face to build into the firmware is now set by CMake (-DENABLE_WATCHFACES).
Fix SettingWatchFace : convert to index to/from WatchFace when needed.
|
| | |
|
| | |
|
| |
|
|
| |
Move displayapp/Apps.h into a header only library (to make the integration easier in InfiniSim.
|
| |
|
|
| |
Watch faces can now be selected at buid time. It's implemented in a similar way than the selection of user apps, using a list of watch face description that is generated at build time (consteval, constexpr)
|
| |
|
|
| |
Given that 2^16 / 1000 is 65, we can make the buffer only 3 chars.
|
| |
|
|
|
|
|
|
|
|
| |
1. Replace sprintf with snprintf, which is safer
2. An unsigned int or unsigned long int requires 11 bytes to print
(including the null terminator)
3. Use PRIu16 macro to print uint16_t
4. Format string "#%2d %2d:%02d:%02d.%02d\n" in
StopWatch::stopLapBtnEventHandler() requires at least 17 bytes.
The 16-byte buffer would clearly be overrun if sprintf were used.
|
| | |
|
| |
|
|
|
|
|
| |
change watch face from int to enum
---------
Co-authored-by: minacode <minamoto9@web.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace custom FreeRTOS inactivity timers with LVGL inactivity timers.
DisplayApp: Trigger display activity on timer done.
inactivity: Add additional checks
The backlight could be turned on by RestoreBrightness() on ble connect
event.
inactivity: Trigger activity on screen switch
A notification timing out could put the watch to sleep immediately.
While this could be ideal behaviour, it was caused by delay in
processing the EnableSleeping event and pushing RestoreBrightness to
DisplayApp.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
The systick doesn't need to be updated when setting time.
Also removed unused nrf_rtc.h includes.
|
| | |
|
| |
|
|
|
| |
This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
|
| |
|
|
|
|
|
|
| |
The DisplayApp class isn't used in the Screen base class and most
screens, so requiring it is pointless.
In this commit, DisplayApp pointers were added to screens which use it
and the explicit Screen constructor was removed in those screens.
|
| | |
|
| | |
|
| |
|
|
| |
Bigger buttons, use new color.
|
| |
|
|
|
|
| |
Long pressing will change the value by 1000, whereas clicks will change
it by 500. This allows setting more precise values, while also making it
easier to set any value.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Fix warnings.
Some clang-formatting was necessary.
DebugPins is unused and was removed.
|
| |
|
|
|
|
| |
Replace separate SettingSetDate and SettingSetTime with a combined screenlist.
Add DotIndicators. Similar to PageIndicator, but for use when separating screens instead of pages of a list.
Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
|
| | |
|
| |
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
|
| | |
|
| | |
|
| |
|
|
| |
resources are not installed).
|
| | |
|
| |
|
|
| |
changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
+ formating (clang)
|
| | | |
|