1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-03 11:22:38 +02:00

limit.h disambiguation

renamed limits.h to grbl_limits.h and updated grbl.h to fix ambiguation issues with limit.h in the esp32 Arduino Framework when compiling with VS-Code/PlatformIO. Fixes INT_MAX not defined compile error.
This commit is contained in:
Unknown
2018-12-29 17:49:19 +01:00
parent 496baa0ccc
commit 40f2a9644b
3 changed files with 9 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
#include "coolant_control.h" #include "coolant_control.h"
#include "eeprom.h" #include "eeprom.h"
#include "gcode.h" #include "gcode.h"
#include "limits.h" #include "grbl_limits.h"
#include "motion_control.h" #include "motion_control.h"
#include "print.h" #include "print.h"
#include "probe.h" #include "probe.h"

View File

@@ -7,6 +7,9 @@
2018 - Bart Dring This file was modifed for use on the ESP32 2018 - Bart Dring This file was modifed for use on the ESP32
CPU. Do not use this with Grbl for atMega328P CPU. Do not use this with Grbl for atMega328P
2018-12-29 - Wolfgang Lienbacher renamed file from limits.h to grbl_limits.h
fixing ambiguation issues with limit.h in the esp32 Arduino Framework
when compiling with VS-Code/PlatformIO.
Grbl is free software: you can redistribute it and/or modify Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by

View File

@@ -7,6 +7,9 @@
2018 - Bart Dring This file was modifed for use on the ESP32 2018 - Bart Dring This file was modifed for use on the ESP32
CPU. Do not use this with Grbl for atMega328P CPU. Do not use this with Grbl for atMega328P
2018-12-29 - Wolfgang Lienbacher renamed file from limits.h to grbl_limits.h
fixing ambiguation issues with limit.h in the esp32 Arduino Framework
when compiling with VS-Code/PlatformIO.
Grbl is free software: you can redistribute it and/or modify Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -22,8 +25,8 @@
along with Grbl. If not, see <http://www.gnu.org/licenses/>. along with Grbl. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef limits_h #ifndef grbl_limits_h
#define limits_h #define grbl_limits_h
// Initialize the limits module // Initialize the limits module