Skip to content

Commit

Permalink
fixed ESP8266 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Oct 28, 2023
1 parent 71a0f9d commit c530147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions uCNC/src/hal/boards/esp8266/esp8266.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ board = d1
build_flags = -DBOARD=BOARD_WEMOS_D1 -DENABLE_WIFI
upload_speed = 256000
board_build.f_cpu = 160000000L
board_build.ldscript=eagle.flash.2m512.ld
2 changes: 1 addition & 1 deletion uCNC/src/hal/mcus/esp8266/esp8266_arduino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ extern "C"
#ifndef CUSTOM_OTA_ENDPOINT
httpUpdater.setup(&web_server, update_path, update_username, update_password);
#endif
FLASH_FS.begin(true);
FLASH_FS.begin();
web_server.begin();
}

Expand Down

0 comments on commit c530147

Please sign in to comment.