Mark unchanging arrays as const (PR#2494)

The compiler may be able to optimize if it knows an array won’t be
changing.
This commit is contained in:
Scott Lahteine
2015-07-22 15:14:40 -07:00
committed by Richard Wackerbarth
parent 72b9e3a6ac
commit c66955aaf9
3 changed files with 4 additions and 5 deletions

View File

@ -241,7 +241,6 @@ inline void refresh_cmd_timeout() { previous_cmd_ms = millis(); }
#define CRITICAL_SECTION_END SREG = _sreg;
#endif
extern float homing_feedrate[];
extern bool axis_relative_modes[];
extern int feedrate_multiplier;
extern bool volumetric_enabled;