summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-02-19Provide reference to BrightnessController in DisplayAppReinhold Gschweicher
For the simulator I need a way to get to the brightnessController object and handle the set brightness-levels accoringly. This is done by the constructor expecting a brightnessController object instead of initializing one itself
2022-02-19Remove unused and not compiling DropDownDemoReinhold Gschweicher
For ease of use the simulator uses a globbing expression to get all screens source files. This one was picked up as well and lead to a compilation error.
2022-02-19SystemTask: forward declare BatteryController to fix of cyclic dependencyReinhold Gschweicher
SystemTask.h included BatteryController.h, and BatteryController.h included SystemTask.h. If unlucky the class SystemTask isn't created yet when BatteryController wants to use it. Fix that cyclic dependency by forward declaring the BatteryController class and including it in the SystemTask.cpp file, where it is needed.
2022-02-19SettingShakeThreshold: add missing SystemTask.h, relative includeReinhold Gschweicher
SettingShakeThreshold.h uses SystemTask, but doesn't include the header. Fixing that for the simulator. For consistency make the header include a relative to src include.
2022-02-19MotorController: no need to make this function a class functionReinhold Gschweicher
The `StopRinging()` function was used just in `Notifications.h` screen. That screen already has access to a `motorController` object.
2022-02-19Notifications: use motorController object instead of class functionReinhold Gschweicher
We get the motoroController object, so store and use it.
2022-02-19SystemTask: remove unused ble includesReinhold Gschweicher
Remove unused includes. The firmware still compiles fine without the includes.
2022-02-13Improved alarm alert handlingRiku Isokoski
2022-02-13Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants
into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
2022-02-12Fix biased BLE pass key generationZorvalt
2022-02-12SystemTask: fix static cast missing brackets syntaxReinhold Gschweicher
The static_cast syntax requires brackets around the input variable. The implementation worked because the used input are defines, which add the missing brackets like the following: ```cpp #define GPIO_PIN_CNF_SENSE_Low (3UL) ```
2022-02-12Make switch disabled state slightly dimmerRiku Isokoski
2022-02-12Fix switch default stateRiku Isokoski
2022-02-12Alarm: Fix missing stop button. Revert alert layoutRiku Isokoski
2022-02-12Alarm: Change checkable button for a switchRiku Isokoski
2022-01-31Added alarm 12 hour interfaceEli Weiss
2022-01-31Corrected capitalizationEli Weiss
2022-01-31Corrected code formattingEli Weiss
Corrected formatting and removed unnecessary variable time24H
2022-01-31Changed setHourLabels function to handle 24H tooEli Weiss
Changed setHourLabels function to handle 24 hour time labeling, changed to private
2022-01-31Consolidated label changes, optimizationsEli Weiss
Consolidated 12 hour label changes to function. Removed use of strings, struct.
2022-01-31Consolidated time conversion logicEli Weiss
Consolidated 24 hour to 12 hour time conversion logic into function, addressed formatting issues, cleaned up code.
2022-01-31Removed redundant bracketsEli Weiss
Also corrected orphaned bracket
2022-01-31Cleaned up redundant if statements, spacingEli Weiss
Removed redundant if statements in hour button logic. Spacing is now in line with repo guidelines.
2022-01-31Added 12 hour set timeEli Weiss
2022-01-26Merge pull request #949 from Riksu9000/fix_alarmJF
Fix alarm on time change
2022-01-26Merge pull request #954 from NeroBurner/music_initialize_lastLengthJF
Music: initialize totalLength to have non-random data from the start
2022-01-26Merge pull request #959 from NeroBurner/stopwatch_include_cleanupJF
StopWatch: cleanup unused includes and use relative to src includes
2022-01-26Merge pull request #531 from hatmajster/heart-rate-gain-settingJF
Heart rate sensor - HRS gain changed to x8
2022-01-26Merge pull request #876 from yehoshuapw/hrs-driver-changesJF
Hrs driver changes
2022-01-26Merge pull request #903 from Riksu9000/improved_notif_timeoutJF
Improved notification timeout
2022-01-26Merge pull request #939 from NeroBurner/buttonHandler_relative_includeJF
ButtonHandler: includes relative to src dir
2022-01-26Merge pull request #940 from NeroBurner/systemTask_queue_includeJF
SystemTask: add missing queue.h include for QueueHandle_t
2022-01-26Merge pull request #944 from NeroBurner/no_generated_files_in_source_dirJF
Create Version.h in binary dir instead of src dir
2022-01-26StopWatch: cleanup unused includes and use relative to src includesReinhold Gschweicher
2022-01-25Hrs3300: changed default gain to x8hatmajster
2022-01-23Music: initialize totalLength to have non-random data from the startReinhold Gschweicher
In the first `Music::Refresh` call the lastLength and totalLength are not initialized. The `lastLength` value is read first from the musicService. Naturally in the first itereation that is changed and `UpdateLength()` is called. There the variable `totalLength` is used as well, but that variable isn't initialed to a sensible value yet. This leads to sometimes the `Music.h` screen segfaulting (depending on the random uninitialized data in the `lastLength` variable)
2022-01-22Fix alarm on time changeRiku Isokoski
2022-01-20PTS and digital watchface code cleanupsRiku Isokoski
2022-01-17Create Version.h in binary dir instead of src dirReinhold Gschweicher
Don't use source directory for generated files. Use the binary (build) directory instead.
2022-01-16SystemTask: add missing queue.h include for QueueHandle_tReinhold Gschweicher
2022-01-16ButtonHandler: includes relative to src dirReinhold Gschweicher
2022-01-06Update shakewake menu optionRiku Isokoski
2022-01-05Merge pull request #912 from SteveAmor/chimesradioJF
Updates radio button style for Chimes Option
2022-01-04Updates radio button styleSteveAmor
2022-01-04Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants
geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
2022-01-04Adds enum class for chimes optionSteveAmor
2022-01-04Fix setting removing it self from wake settings when opening calibration ↵Tim Keller
window twice.
2022-01-04Made calibration window enable Accel wakeups for setting and calibration ↵Tim Keller
even when wake mode is inactive.
2022-01-04Remove "fancy" settings display and always show ShakeWakeThresholdSettingTim Keller
2022-01-04Fixed button color changingTim Keller