mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-28 16:49:54 +02:00
In Grbl.h Grbl.cpp renamed init() to grbl_init(). It was getting double called.
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
#include "src/Grbl.h"
|
#include "src/Grbl.h"
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
init();
|
grbl_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#include "Grbl.h"
|
#include "Grbl.h"
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
|
|
||||||
void init() {
|
void grbl_init() {
|
||||||
#ifdef USE_I2S_OUT
|
#ifdef USE_I2S_OUT
|
||||||
i2s_out_init(); // The I2S out must be initialized before it can access the expanded GPIO port
|
i2s_out_init(); // The I2S out must be initialized before it can access the expanded GPIO port
|
||||||
#endif
|
#endif
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
// Grbl versioning system
|
// Grbl versioning system
|
||||||
|
|
||||||
#define GRBL_VERSION "1.3a"
|
#define GRBL_VERSION "1.3a"
|
||||||
#define GRBL_VERSION_BUILD "20200812"
|
#define GRBL_VERSION_BUILD "20200813"
|
||||||
|
|
||||||
//#include <sdkconfig.h>
|
//#include <sdkconfig.h>
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
# include "I2SOut.h"
|
# include "I2SOut.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void init();
|
void grbl_init();
|
||||||
void run_once();
|
void run_once();
|
||||||
|
|
||||||
// Called if USE_MACHINE_INIT is defined
|
// Called if USE_MACHINE_INIT is defined
|
||||||
|
Reference in New Issue
Block a user