Moved REQUIRE_LINENUMBER and REQUIRE_CHECKSUM #defines to gcode.h.
This commit is contained in:
parent
c591d3330d
commit
85b09112b9
|
|
@ -38,8 +38,6 @@ OBJCOPY = $(ARCH)objcopy
|
||||||
|
|
||||||
DEFS = -DF_CPU=$(F_CPU)
|
DEFS = -DF_CPU=$(F_CPU)
|
||||||
# DEFS += "-DDEBUG=1"
|
# DEFS += "-DDEBUG=1"
|
||||||
# DEFS += "-DREQUIRE_LINENUMBER"
|
|
||||||
# DEFS += "-DREQUIRE_CHECKSUM"
|
|
||||||
|
|
||||||
OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -DDEBUG
|
OPTIMIZE = -Os -ffunction-sections -finline-functions-called-once -DDEBUG
|
||||||
# OPTIMIZE = -O0
|
# OPTIMIZE = -O0
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,12 @@
|
||||||
|
|
||||||
#include "dda.h"
|
#include "dda.h"
|
||||||
|
|
||||||
|
// wether to insist on N line numbers
|
||||||
|
//#define REQUIRE_LINENUMBER
|
||||||
|
|
||||||
|
// wether to insist on a checksum
|
||||||
|
//#define REQUIRE_CHECKSUM
|
||||||
|
|
||||||
// this is a very crude decimal-based floating point structure. a real floating point would at least have signed exponent
|
// this is a very crude decimal-based floating point structure. a real floating point would at least have signed exponent
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t sign :1;
|
uint32_t sign :1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue