made local variables static

This commit is contained in:
Simen Svale Skogsrud
2011-01-25 23:33:19 +01:00
parent d8e2778b7b
commit 35064b53e9
4 changed files with 17 additions and 16 deletions

View File

@@ -60,10 +60,11 @@
#include "config.h"
#include "wiring_serial.h"
block_t block_buffer[BLOCK_BUFFER_SIZE]; // A ring buffer for motion instructions
block_t block_buffer[BLOCK_BUFFER_SIZE]; // A ring buffer for motion instructions
volatile int block_buffer_head; // Index of the next block to be pushed
volatile int block_buffer_tail; // Index of the block to process now
uint8_t acceleration_management; // Acceleration management active?
static uint8_t acceleration_management; // Acceleration management active?
// NOTE: See bottom of this module for a comment outlining the reasoning behind the mathematics of the