Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent double constants #359

Merged
merged 2 commits into from
Dec 17, 2023
Merged

Conversation

Candas1
Copy link
Collaborator

@Candas1 Candas1 commented Dec 17, 2023

For constants as float instead of double.
Slightly reduces flash usage and loopfoc duration.

Before:
RAM: [= ] 9.0% (used 4400 bytes from 49152 bytes)
Flash: [=== ] 26.7% (used 69992 bytes from 262144 bytes)
loopfoc=260us

After:
RAM: [= ] 9.0% (used 4400 bytes from 49152 bytes)
Flash: [=== ] 26.6% (used 69856 bytes from 262144 bytes)
loopfoc=256us

@runger1101001 runger1101001 merged commit 7fd7f61 into simplefoc:dev Dec 17, 2023
16 checks passed
@runger1101001
Copy link
Member

Merged it. Thank you!!

@runger1101001 runger1101001 added this to the 2.3.3_Release milestone Jan 21, 2024
@Candas1 Candas1 deleted the double_constants branch January 29, 2024 19:16
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.

None yet

2 participants