Skip to content

Optimize hostname variable size#9677

Merged
tannewt merged 3 commits intoadafruit:mainfrom
RetiredWizard:lmhostname
Oct 2, 2024
Merged

Optimize hostname variable size#9677
tannewt merged 3 commits intoadafruit:mainfrom
RetiredWizard:lmhostname

Conversation

@RetiredWizard
Copy link

This PR updates the cpy_default_hostname variable length to exactly what's needed rather than 80 characters.

If there's any value in using an mp_obj_ type variable rather than a char array to store cpy_default_hostname let me know and I can try to get that to work in another PR.

@RetiredWizard
Copy link
Author

The sunton_esp32_8048S050 was added after the PR which removed all the CONFIG_LWIP_LOCAL_HOSTNAME statements from sdkconfig was based. I added an update for that board to this PR as well.

@dhalbert dhalbert requested a review from tannewt October 2, 2024 15:27
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

@tannewt tannewt merged commit a9e50e2 into adafruit:main Oct 2, 2024
@RetiredWizard RetiredWizard deleted the lmhostname branch October 5, 2024 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants