shell : assert standardization
1. All macros assert have been replaced with __ASSERT_NO_MSG. 2. Macro _Static_assert has been replaced with BUILD_ASSERT. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
f3db4d7034
commit
73c2178027
3 changed files with 24 additions and 24 deletions
|
@ -292,7 +292,7 @@ struct shell_flags {
|
|||
u32_t mode_delete :1; /*!< Operation mode of backspace key */
|
||||
};
|
||||
|
||||
_Static_assert(sizeof(struct shell_flags) == sizeof(u32_t), "Must fit in 32b.");
|
||||
BUILD_ASSERT(sizeof(struct shell_flags) == sizeof(u32_t));
|
||||
|
||||
/*
|
||||
* @internal @brief Union for internal shell usage.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue