From 7a8c57dd587de1348255425e8f863f1339f5a765 Mon Sep 17 00:00:00 2001 From: Thomas Sommer Date: Sat, 29 Jun 2024 13:05:11 +0200 Subject: [PATCH] [docs] Add a reference to "profile=debug" in assert.md --- src/modm/architecture/interface/assert.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modm/architecture/interface/assert.md b/src/modm/architecture/interface/assert.md index d8d4496cdf..dfaae6aa2e 100644 --- a/src/modm/architecture/interface/assert.md +++ b/src/modm/architecture/interface/assert.md @@ -168,8 +168,10 @@ if (not is_ok) { } ``` -Additionally, these assertions are only active in debug mode. Of course they -still evaluate and return the condition in release mode, so you can use them +Additionally, these assertions are only active in `profile=debug` (more about +profiles: [scons](https://modm.io/reference/module/modm-build-scons/#scons), +[make](https://modm.io/reference/module/modm-build-make/#make)). Of course they +still evaluate and return the condition in `profile=release`, so you can use them just as above: 4. `bool modm_assert_continue_fail_debug()`