summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-02-19Provide reference to BrightnessController in DisplayAppReinhold Gschweicher5-1/+10
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 Gschweicher3-85/+0
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 Gschweicher2-1/+2
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 Gschweicher2-1/+2
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 Gschweicher1-1/+1
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 Gschweicher2-10/+19
We get the motoroController object, so store and use it.
2022-02-19SystemTask: remove unused ble includesReinhold Gschweicher1-9/+0
Remove unused includes. The firmware still compiles fine without the includes.
2022-02-13Improved alarm alert handlingRiku Isokoski3-10/+41
2022-02-13Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants6-10/+38
into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
2022-02-12Fix biased BLE pass key generationZorvalt1-1/+22
2022-02-12SystemTask: fix static cast missing brackets syntaxReinhold Gschweicher1-2/+2
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 Isokoski1-1/+2
2022-02-12Fix switch default stateRiku Isokoski1-0/+2
2022-02-12Alarm: Fix missing stop button. Revert alert layoutRiku Isokoski1-4/+6
2022-02-12Alarm: Change checkable button for a switchRiku Isokoski4-33/+51
2022-01-31Added alarm 12 hour interfaceEli Weiss3-8/+39
2022-01-31Corrected capitalizationEli Weiss2-5/+5
2022-01-31Corrected code formattingEli Weiss2-28/+30
Corrected formatting and removed unnecessary variable time24H
2022-01-31Changed setHourLabels function to handle 24H tooEli Weiss2-36/+28
Changed setHourLabels function to handle 24 hour time labeling, changed to private
2022-01-31Consolidated label changes, optimizationsEli Weiss1-36/+15
Consolidated 12 hour label changes to function. Removed use of strings, struct.
2022-01-31Consolidated time conversion logicEli Weiss2-87/+94
Consolidated 24 hour to 12 hour time conversion logic into function, addressed formatting issues, cleaned up code.
2022-01-31Removed redundant bracketsEli Weiss1-5/+3
Also corrected orphaned bracket
2022-01-31Cleaned up redundant if statements, spacingEli Weiss2-47/+43
Removed redundant if statements in hour button logic. Spacing is now in line with repo guidelines.
2022-01-31Added 12 hour set timeEli Weiss3-8/+80
2022-01-26Merge pull request #949 from Riksu9000/fix_alarmJF2-0/+5
Fix alarm on time change
2022-01-26Merge pull request #954 from NeroBurner/music_initialize_lastLengthJF1-1/+1
Music: initialize totalLength to have non-random data from the start
2022-01-26Merge pull request #959 from NeroBurner/stopwatch_include_cleanupJF2-7/+4
StopWatch: cleanup unused includes and use relative to src includes
2022-01-26Merge pull request #531 from hatmajster/heart-rate-gain-settingJF1-2/+2
Heart rate sensor - HRS gain changed to x8
2022-01-26Merge pull request #876 from yehoshuapw/hrs-driver-changesJF3-8/+7
Hrs driver changes
2022-01-26Merge pull request #903 from Riksu9000/improved_notif_timeoutJF4-18/+49
Improved notification timeout
2022-01-26Merge pull request #939 from NeroBurner/buttonHandler_relative_includeJF2-2/+2
ButtonHandler: includes relative to src dir
2022-01-26Merge pull request #940 from NeroBurner/systemTask_queue_includeJF1-0/+1
SystemTask: add missing queue.h include for QueueHandle_t
2022-01-26Merge pull request #944 from NeroBurner/no_generated_files_in_source_dirJF1-0/+2
Create Version.h in binary dir instead of src dir
2022-01-26StopWatch: cleanup unused includes and use relative to src includesReinhold Gschweicher2-7/+4
2022-01-25Hrs3300: changed default gain to x8hatmajster1-2/+2
2022-01-23Music: initialize totalLength to have non-random data from the startReinhold Gschweicher1-1/+1
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 Isokoski2-0/+5
2022-01-20PTS and digital watchface code cleanupsRiku Isokoski4-118/+79
2022-01-17Create Version.h in binary dir instead of src dirReinhold Gschweicher1-0/+2
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 Gschweicher1-0/+1
2022-01-16ButtonHandler: includes relative to src dirReinhold Gschweicher2-2/+2
2022-01-06Update shakewake menu optionRiku Isokoski1-1/+1
2022-01-05Merge pull request #912 from SteveAmor/chimesradioJF1-0/+4
Updates radio button style for Chimes Option
2022-01-04Updates radio button styleSteveAmor1-0/+4
2022-01-04Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants12-26/+262
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 optionSteveAmor3-12/+21
2022-01-04Fix setting removing it self from wake settings when opening calibration ↵Tim Keller2-3/+4
window twice.
2022-01-04Made calibration window enable Accel wakeups for setting and calibration ↵Tim Keller2-1/+9
even when wake mode is inactive.
2022-01-04Remove "fancy" settings display and always show ShakeWakeThresholdSettingTim Keller1-14/+10
2022-01-04Fixed button color changingTim Keller2-9/+9