refactored handling of settings '$' command out of gcode module and into settings module

This commit is contained in:
Simen Svale Skogsrud
2011-02-18 22:59:16 +01:00
parent 6893463e80
commit 9876e14f0b
9 changed files with 93 additions and 68 deletions

View File

@ -21,6 +21,7 @@
#ifndef nuts_bolts_h
#define nuts_bolts_h
#include <string.h>
#include <stdint.h>
#define FALSE 0
#define TRUE 1
@ -32,4 +33,6 @@
#define clear_vector(a) memset(a, 0, sizeof(a))
#define max(a,b) (((a) > (b)) ? (a) : (b))
int read_double(char *line, uint8_t *char_counter, double *double_ptr);
#endif