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

@ -89,7 +89,7 @@ typedef struct {
int16_t spindle_speed; /* RPM/100 */
uint8_t plane_axis_0, plane_axis_1, plane_axis_2; // The axes of the selected plane
} parser_state_t;
parser_state_t gc;
static parser_state_t gc;
#define FAIL(status) gc.status_code = status;