Review and formatting. No code changes other than {} wrappers in some places in bio where they were missing

This commit is contained in:
Alden Hart
2017-02-24 10:58:15 -05:00
parent 0abc3af2de
commit 747cdf02d1
5 changed files with 34 additions and 51 deletions

View File

@@ -33,8 +33,12 @@
#include "json_parser.h" // so we can switch js.comm_mode on a marlin M-code
#endif
// Helpers
static stat_t _execute_gcode_block_marlin(void);
// Locally used enums
typedef enum { // Used for detecting gcode errors. See NIST section 3.4
MODAL_GROUP_G0 = 0, // {G10,G28,G28.1,G92} non-modal axis commands (note 1)
MODAL_GROUP_G1, // {G0,G1,G2,G3,G80} motion