Browse Source

Disable assert() by default

Scott Lahteine 3 years ago
parent
commit
8e60b19662
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      platformio.ini

+ 1
- 1
platformio.ini View File

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

Loading…
Cancel
Save