Browse Source

overlooked some inlines..

Bernhard 13 years ago
parent
commit
b128d25f27
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/stepper.cpp

+ 2
- 2
Marlin/stepper.cpp View File

@@ -224,7 +224,7 @@ void st_wake_up() {
224 224
   ENABLE_STEPPER_DRIVER_INTERRUPT();  
225 225
 }
226 226
 
227
-inline unsigned short calc_timer(unsigned short step_rate) {
227
+FORCE_INLINE unsigned short calc_timer(unsigned short step_rate) {
228 228
   unsigned short timer;
229 229
   if(step_rate > MAX_STEP_FREQUENCY) step_rate = MAX_STEP_FREQUENCY;
230 230
   
@@ -261,7 +261,7 @@ inline unsigned short calc_timer(unsigned short step_rate) {
261 261
 
262 262
 // Initializes the trapezoid generator from the current block. Called whenever a new 
263 263
 // block begins.
264
-inline void trapezoid_generator_reset() {
264
+FORCE_INLINE void trapezoid_generator_reset() {
265 265
   #ifdef ADVANCE
266 266
     advance = current_block->initial_advance;
267 267
     final_advance = current_block->final_advance;

Loading…
Cancel
Save