Skip to content

Use correct size for nameBuffer#262

Merged
DocMoebiuz merged 2 commits intoMobiFlight:mainfrom
elral:Reduce-RAM-usage
Oct 23, 2023
Merged

Use correct size for nameBuffer#262
DocMoebiuz merged 2 commits intoMobiFlight:mainfrom
elral:Reduce-RAM-usage

Conversation

@elral
Copy link
Collaborator

@elral elral commented Oct 23, 2023

Description of changes

We introduced a new macro #define MEMLEN_NAMES_BUFFER to reduce the size / length of the nameBuffer.
By accident, the init code still uses the old name MEM_LEN_CONFIG which is using a bigger value.

This PR uses the correct macro: MEMLEN_NAMES_BUFFER for intializiing nameBuffer

@elral elral requested a review from DocMoebiuz as a code owner October 23, 2023 19:15
@github-actions
Copy link

Firmware for this pull request:
Firmware.zip

@DocMoebiuz DocMoebiuz changed the title use intended size for nameBuffer Use correct size for nameBuffer Oct 23, 2023
@DocMoebiuz DocMoebiuz merged commit 3a1c77e into MobiFlight:main Oct 23, 2023
@elral elral deleted the Reduce-RAM-usage branch October 23, 2023 20:38
@DocMoebiuz DocMoebiuz added the bug Something isn't working label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants