Skip to content

Conversation

JustScott
Copy link
Contributor

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.

Copy link

github-actions bot commented Jan 4, 2025

Build size and comparison to main:

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

Run in InfiniEmu

SimpleWeatherService as the method `Color` for easier reusability.
@JustScott JustScott force-pushed the new_temperature_method_color branch from 3023482 to 9204b56 Compare January 30, 2025 21:01
@mark9064 mark9064 added the maintenance Background work label Feb 7, 2025
Copy link
Member

@mark9064 mark9064 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think moving it still makes sense either way, thanks for splitting out this change :)

@mark9064 mark9064 mentioned this pull request Jun 2, 2025
@mark9064 mark9064 added this to the 1.16.0 milestone Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Background work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants