summaryrefslogtreecommitdiff
path: root/Sprinter/Sprinter.pde
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-07-09 16:26:26 +0200
committerkliment <kliment.yanev@gmail.com>2011-07-09 16:26:26 +0200
commit1693fc15f3294691cef18e0066ad8ada182b2fd2 (patch)
tree4763bbd2bb55a145099e3e99395e254d2fa8e87a /Sprinter/Sprinter.pde
parent4a84d200ae976f30a73655f72378ee1d753128c6 (diff)
Change inlining to reduce binary size
Diffstat (limited to 'Sprinter/Sprinter.pde')
-rw-r--r--Sprinter/Sprinter.pde8
1 files changed, 4 insertions, 4 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index ec09b78..73ee4c4 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -912,7 +912,7 @@ inline void process_commands()
}
-inline void FlushSerialRequestResend()
+void FlushSerialRequestResend()
{
//char cmdbuffer[bufindr][100]="Resend:";
Serial.flush();
@@ -921,7 +921,7 @@ inline void FlushSerialRequestResend()
ClearToSend();
}
-inline void ClearToSend()
+void ClearToSend()
{
previous_millis_cmd = millis();
#ifdef SDSUPPORT
@@ -943,7 +943,7 @@ inline void get_coordinates()
}
}
-inline void prepare_move()
+void prepare_move()
{
//Find direction
for(int i=0; i < NUM_AXIS; i++) {
@@ -1025,7 +1025,7 @@ inline void prepare_move()
linear_move(move_steps); // make the move
}
-void linear_move(unsigned long axis_steps_remaining[]) // make linear move with preset speeds and destinations, see G0 and G1
+inline void linear_move(unsigned long axis_steps_remaining[]) // make linear move with preset speeds and destinations, see G0 and G1
{
//Determine direction of movement
if (destination[0] > current_position[0]) WRITE(X_DIR_PIN,!INVERT_X_DIR);