bdring / FluidNC

The next generation of motion control firmware
Other
1.63k stars 387 forks source link

define EnumItem data types as const #1202

Closed craiglink closed 7 months ago

craiglink commented 7 months ago

Allows compiler / linker to optimize code and RAM/Flash usage

[env:wifi] ; before RAM: [=== ] 28.7% (used 93956 bytes from 327680 bytes) Flash: [========= ] 91.1% (used 1791793 bytes from 1966080 bytes

[env:wifi] ; after RAM: [=== ] 27.4% (used 89636 bytes from 327680 bytes) Flash: [========= ] 91.1% (used 1791809 bytes from 1966080 bytes)