doc: kernel: fatal: update "Build Assertions" section intro paragraph
A long time ago, Zephyr had two macros that could be used for build-time assertions: BUILD_ASSERT() and BUILD_ASSERT_MSG(). The latter has been dropped in v2.7 and removed from the documentation; however, the intro paragraph of the "Build Assertions" section has never been updated to reflect this, and still confusingly claims that "Zephyr provides two macros for performing build-time assertions" when only BUILD_ASSERT() remains. Update the introductory paragraph of "Build Assertions" section such that it makes sense now that only one build-time assertion macro exists. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
This commit is contained in:
parent
5c36567c56
commit
25fe4745e6
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ discouraged.
|
|||
Build Assertions
|
||||
================
|
||||
|
||||
Zephyr provides two macros for performing build-time assertion checks.
|
||||
These are evaluated completely at compile-time, and are always checked.
|
||||
Zephyr provides a macro for performing build-time assertion checks.
|
||||
It is evaluated completely at compile-time and always checked.
|
||||
|
||||
BUILD_ASSERT()
|
||||
--------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue