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 authored and Richard Wackerbarth committed 2015-07-22 21:37:37 -05:00
1 parent 72b9e3a6ac
commit c66955aaf9
3 files changed
+4 -5

No files matched your search

-1
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;