Skip to content

Commit

Permalink
Error corrected in config.h (missing ")" on LIMIT_MASK)
Browse files Browse the repository at this point in the history
  • Loading branch information
cprezzi committed May 10, 2017
1 parent 0471485 commit b48c3c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grbl/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
// one configuration file by placing their specific defaults and pin map at the bottom of this file.
// If doing so, simply comment out these two defines and see instructions below.
// #define DEFAULTS_GENERIC
#define DEFAULTS_K40
// #define CPU_MAP_ATMEGA328P // Arduino Uno CPU

// Serial baud rate
Expand Down Expand Up @@ -667,7 +666,7 @@
#define X_LIMIT_BIT 24 // X-MIN=24, X-MAX=25
#define Y_LIMIT_BIT 27 // Y-MIN=26, Y-MAX=27
#define Z_LIMIT_BIT 29 // Z-MIN=28, Z-MAX=29
#define LIMIT_MASK ((1<<X_LIMIT_BIT)|(1<<Y_LIMIT_BIT) //|(1<<Z_LIMIT_BIT)) // All limit bits
#define LIMIT_MASK ((1<<X_LIMIT_BIT)|(1<<Y_LIMIT_BIT)) //|(1<<Z_LIMIT_BIT)) // All limit bits
// hard limits not ported #define LIMIT_INT PCIE0 // Pin change interrupt enable pin
// hard limits not ported #define LIMIT_INT_vect PCINT0_vect
// hard limits not ported #define LIMIT_PCMSK PCMSK0 // Pin change interrupt register
Expand Down

0 comments on commit b48c3c7

Please sign in to comment.