Bug fix for certain motions. Re-org of includes.
- Critical bug fix for diagonal motions that continue on the same direction or return in the exact opposite direction. This issue could cause Grbl to crash intermittently due to a numerical round-off error. Grbl versions prior to v0.9g shouldn’t have this issue. - Reorganized all of the includes used by Grbl. Centralized it into a single “grbl.h” include. This will help simplify the compiling and uploading process through the Arduino IDE. - Added an example .INO file for users to simply open and run when compiling and uploading through the IDE. More to come later.
This commit is contained in:
20
system.h
20
system.h
@@ -21,25 +21,7 @@
|
||||
#ifndef system_h
|
||||
#define system_h
|
||||
|
||||
// Define system header files and standard libraries used by Grbl
|
||||
#include <avr/io.h>
|
||||
#include <avr/pgmspace.h>
|
||||
#include <avr/interrupt.h>
|
||||
#include <avr/wdt.h>
|
||||
#include <util/delay.h>
|
||||
#include <math.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
// Define Grbl configuration and shared header files
|
||||
#include "config.h"
|
||||
#include "defaults.h"
|
||||
#include "cpu_map.h"
|
||||
#include "nuts_bolts.h"
|
||||
|
||||
#include "grbl.h"
|
||||
|
||||
// Define system executor bit map. Used internally by realtime protocol as realtime command flags,
|
||||
// which notifies the main program to execute the specified realtime command asynchronously.
|
||||
|
||||
Reference in New Issue
Block a user