Skip to content

Commit

Permalink
修改部分内容
Browse files Browse the repository at this point in the history
  • Loading branch information
dchlcb committed Dec 2, 2024
1 parent b63558f commit 31da893
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ cd "$BUILD_DIR"

# 运行 cmake 配置项目
echo "运行 cmake 配置项目..."
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain.cmake ..
if [ "$1" == "-arm" ]; then
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain.cmake ..
else
cmake ..
fi


# 运行 make 编译项目
echo "运行 make 编译项目..."
Expand Down
Empty file modified run_program.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/app/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern "C" {
#define HTTPS_URL "https://0.0.0.0:443" // Use standard privileged ports
#else
#define HTTP_URL "http://0.0.0.0:8000" // Workstation build:
#define HTTPS_URL "https://0.0.0.0:8000" // Use non-privileged ports
#define HTTPS_URL "https://0.0.0.0:8080" // Use non-privileged ports
#endif

#define MAX_DEVICE_NAME 40
Expand Down

0 comments on commit 31da893

Please sign in to comment.