瀏覽代碼

Disable assert() by default

Scott Lahteine 3 年之前
父節點
當前提交
8e60b19662
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      platformio.ini

+ 1
- 1
platformio.ini 查看文件

@@ -36,7 +36,7 @@ extra_configs =
36 36
 # Remove '-fmax-errors=5' from build_flags below to see all.
37 37
 #
38 38
 [common]
39
-build_flags        = -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
39
+build_flags        = -g3 -D__MARLIN_FIRMWARE__ -DNDEBUG -fmerge-constants
40 40
                      -fmax-errors=5
41 41
 extra_scripts      =
42 42
   pre:buildroot/share/PlatformIO/scripts/common-dependencies.py

Loading…
取消
儲存