mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
fix one weird bug
This commit is contained in:
@@ -13,7 +13,7 @@ platform = espressif8266
|
|||||||
board = esp12e
|
board = esp12e
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
board_build.f_cpu = 80000000L
|
board_build.f_cpu = 160000000L
|
||||||
upload_resetmethod = nodemcu
|
upload_resetmethod = nodemcu
|
||||||
|
|
||||||
upload_port=/dev/ttyUSB0
|
upload_port=/dev/ttyUSB0
|
||||||
|
|||||||
@@ -4,9 +4,8 @@
|
|||||||
#include "ConfigManager.h"
|
#include "ConfigManager.h"
|
||||||
#include "GCodeParser.h"
|
#include "GCodeParser.h"
|
||||||
|
|
||||||
Command bufcmd;
|
|
||||||
|
|
||||||
Command parseGCode(std::string gcode) {
|
Command parseGCode(std::string gcode) {
|
||||||
|
Command bufcmd;
|
||||||
char commandString[50];
|
char commandString[50];
|
||||||
std::unordered_map<char, float> argsMap;
|
std::unordered_map<char, float> argsMap;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user