1
0
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:
bdring
2020-08-13 09:15:12 -05:00
parent bb6ca867b2
commit 654cc166cf
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
#include "src/Grbl.h"
void setup() {
init();
grbl_init();
}
void loop() {

View File

@@ -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

View File

@@ -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