timers: add hour to countdown timer#2363
timers: add hour to countdown timer#2363daniebker wants to merge 4 commits intoInfiniTimeOrg:mainfrom
Conversation
|
Build size and comparison to main:
|
update main
|
If you build the code using the docker container you should be able to verify your additional fix under Linux. Do you have an explanation for why you encountered the problem under macOS? What is the problem there? |
Yes, I’ve built the code under the docker container and it was working fine, in fact that’s the one I sent to the watch. I just tried removing the block I have locally for the mac compilation, but now it’s building fine, even after wiping the build, so I can’t reproduce the error I was seeing. Anyway, I didn’t include it as part of the MR because I wasn't sure it wasn’t just a ‘me’ issue. |
|
Please fix the formatting error. Overall the code looks good to me, but I haven't tested it. |
A small change to add an hour selector to the timer countdown. I found only being able to set minutes too limiting and sometimes need timers that go longer than 1 hour.
Testing
I’ve tested this in InfiniSim and on the pinetime.
I also have another change, unrelated to the timer, because I was having issues building the chrono on Mac.
Using the
time_point_castresolved the issue for me, but I haven’t tested it on linux so can’t guarantee it still works there, which is why I didn’t include it as part of this MR. Has this issue been raised before?