Skip to content

Commit 32e1eec

Browse files
committed
Fixed ESP32 build error
1 parent 79100c3 commit 32e1eec

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

uCNC/src/cnc_build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern "C"
2424
{
2525
#endif
2626

27-
#define CNC_MAJOR_MINOR_VERSION "1.14"
27+
#define CNC_MAJOR_MINOR_VERSION "1.15"
2828
#define CNC_PATCH_VERSION ".0"
2929

3030
#define CNC_VERSION CNC_MAJOR_MINOR_VERSION CNC_PATCH_VERSION

uCNC/src/hal/mcus/esp32/esp32_bt.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919

2020
#include "../../../../cnc_config.h"
2121

22-
#if CONFIG_IDF_TARGET_ESP32 && defined(ENABLE_BLUETOOTH)
22+
#ifdef ESP32
2323
#include <Arduino.h>
24+
#endif
25+
#if CONFIG_IDF_TARGET_ESP32 && defined(ENABLE_BLUETOOTH)
2426
#include "esp_task_wdt.h"
2527
#include <stdint.h>
2628
#include <stdbool.h>

uCNC/src/hal/mcus/virtual/mcumap_virtual.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474

7575
#define ENABLE_SOCKETS
7676
#define MCU_HAS_SOCKETS
77-
#define MCU_HAS_SOCKETS
7877
// #define EMULATE_74HC595
7978

8079
// joints step/dir pins

uCNC/src/module.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C"
2828
#include <stdint.h>
2929
#include <stdbool.h>
3030

31-
#define UCNC_MODULE_VERSION 11400
31+
#define UCNC_MODULE_VERSION 11500
3232

3333
#define EVENT_CONTINUE false
3434
#define EVENT_HANDLED true

0 commit comments

Comments
 (0)