make tuneing sub-menu.

This commit is contained in:
Bernhard Kubicek
2011-11-20 16:05:42 +01:00
parent 15bb3f284e
commit 379ea642e1
5 changed files with 216 additions and 37 deletions

View File

@ -762,3 +762,7 @@ void plan_set_position(const float &x, const float &y, const float &z, const flo
previous_speed[3] = 0.0;
}
uint8_t movesplanned()
{
return (block_buffer_head-block_buffer_tail + BLOCK_BUFFER_SIZE) & (BLOCK_BUFFER_SIZE - 1);
}