mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-27 08:14:31 +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"
|
||||
|
||||
void setup() {
|
||||
init();
|
||||
grbl_init();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include "Grbl.h"
|
||||
#include <WiFi.h>
|
||||
|
||||
void init() {
|
||||
void grbl_init() {
|
||||
#ifdef USE_I2S_OUT
|
||||
i2s_out_init(); // The I2S out must be initialized before it can access the expanded GPIO port
|
||||
#endif
|
||||
|
@@ -23,7 +23,7 @@
|
||||
// Grbl versioning system
|
||||
|
||||
#define GRBL_VERSION "1.3a"
|
||||
#define GRBL_VERSION_BUILD "20200812"
|
||||
#define GRBL_VERSION_BUILD "20200813"
|
||||
|
||||
//#include <sdkconfig.h>
|
||||
#include <Arduino.h>
|
||||
@@ -95,7 +95,7 @@
|
||||
# include "I2SOut.h"
|
||||
#endif
|
||||
|
||||
void init();
|
||||
void grbl_init();
|
||||
void run_once();
|
||||
|
||||
// Called if USE_MACHINE_INIT is defined
|
||||
|
Reference in New Issue
Block a user