InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Create a new `Color` method in the `Temperature` class in `SimpleWeatherService` for easier reusability.

Open JustScott opened this issue 1 year ago • 1 comments

It was brought up in #2204 to move the TemperatureColor function to the Temperature class in SimpleWeatherService as an easy to reuse method, however since then it has been decided to use a static temperature color in the terminal watch face instead which means the TemperatureColor function is only used in one file (weather.cpp) making it currently "pointless" to move this function. However, I'm still creating this PR in case others think we should still move this function to the Color method for easy reuse in the future.

JustScott avatar Jan 04 '25 08:01 JustScott

Build size and comparison to main:

Section Size Difference
text 373008B 0B
data 948B 0B
bss 22536B 0B

Run in InfiniEmu

github-actions[bot] avatar Jan 04 '25 08:01 github-actions[bot]