Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
into Riksu9000-call-improvements
# Conflicts:
# src/displayapp/screens/Metronome.cpp
|
|
|
|
https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping
# Conflicts:
# src/displayapp/screens/BatteryIcon.cpp
|
|
inspired by PR #232 by nscooling.
|
|
|
|
|
|
|
|
changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
|
|
|
|
|
|
|
|
|
|
|
|
* Code cleanup
* Remove override again
|
|
into Riksu9000-fix_touchevent_tap
# Conflicts:
# src/displayapp/DisplayApp.cpp
|
|
* 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
|
|
* 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>
|
|
|
|
https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick
# Conflicts:
# src/displayapp/screens/BatteryInfo.cpp
# src/displayapp/screens/BatteryInfo.h
|
|
# Conflicts:
# src/displayapp/screens/BatteryInfo.cpp
|
|
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.
|
|
* Modify status text in BatteryInfo so it fits on screen
|
|
Refactor battery percent : only use uint8_t to store the battery % remaining.
|
|
|
|
|
|
* Improve stopwatch more
* Make sure sleep gets reenabled
* Cleanup and clang-format
|
|
* Brace style and whitespace fixes
* Additional whitespace fixes
|
|
|
|
|
|
|
|
* add drum icon for metronome app
|
|
* Change voltage float to millivolt integer
* Explain the ADC to milliVolts conversion
|
|
|
|
|
|
|
|
* PineTimeStyle
* Move GPL license header
* Add step count gauge - replaces heartrate in sidebar
* Enable 12/24h functionality
* Set step gauge outer to be white when step goal is reached
* Add font source file
* Move static needle_colors array to member variable
* Add documentation on generating a font
* Replace .ttf with Google version, add link to font page
Co-authored-by: JF002 <JF002@users.noreply.github.com>
|
|
* 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
|
|
|
|
* Removed an illogical comparison
|
|
* Add support for BMA425 acceleration sensor.
|
|
improve-battery-percentage-to-battery-icon-mapping
|
|
|
|
* add basic metronome app
* add bpb, tap to bpm, update widgets
* use event pressed for bpm tap
* move case statement break to the right place
* narrow bpm selection range, override touch events
* fix arc knob style
* re-enable sleeping in destructor
|
|
Improve stopwatch
|
|
the core of the ctro().
|
|
Remove tap to switch Watchfaces
|