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:
Jakub Rzeszutko 2018-09-25 08:57:32 +02:00 committed by Carles Cufí
commit 73c2178027
3 changed files with 24 additions and 24 deletions

View file

@ -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.