Skip to content

Comments

Prevent double constants#359

Merged
runger1101001 merged 2 commits intosimplefoc:devfrom
Candas1:double_constants
Dec 17, 2023
Merged

Prevent double constants#359
runger1101001 merged 2 commits intosimplefoc:devfrom
Candas1:double_constants

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
@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.

2 participants