InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Use std::optional for heart rate

Open WhyNotHugo opened this issue 3 months ago • 4 comments

If no value is available, use null. Use this distinction to differentiate in the UI between missing data and zero value.

Still sends value 0 over BLE. I'm unsure whether this should change or not

WhyNotHugo avatar Aug 30 '25 02:08 WhyNotHugo

Build size and comparison to main:

Section Size Difference
text 379348B 144B
data 944B 0B
bss 22536B 0B

Run in InfiniEmu

github-actions[bot] avatar Aug 30 '25 02:08 github-actions[bot]

Checks have not completed because they require maintainer approval.

This isn't something I can do anything about, I'm not sure what's the purpose of this warning.

WhyNotHugo avatar Aug 30 '25 10:08 WhyNotHugo

Building the simulator fails.

docker run --rm -it -v ${PWD}:/sources infinitime-build doesn't build the simulator too. I tried tweaking it to build it, but apparently multiple other dependencies are missing.

Is there an existing setup for this which I can use?

WhyNotHugo avatar Aug 30 '25 13:08 WhyNotHugo

See: https://github.com/InfiniTimeOrg/InfiniSim/pull/180

WhyNotHugo avatar Sep 22 '25 21:09 WhyNotHugo