net: lwm2m: Prevent wundef warnings
If -Werror is used compilation fails due to wundef warning. Signed-off-by: Christoph Schnetzler <christoph.schnetzler@husqvarnagroup.com>
This commit is contained in:
parent
3a8749e430
commit
0dd14404e1
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
#include "lwm2m_registry.h"
|
||||
|
||||
#define LWM2M_PROTOCOL_VERSION_MAJOR 1
|
||||
#if CONFIG_LWM2M_VERSION_1_1
|
||||
#if defined(CONFIG_LWM2M_VERSION_1_1)
|
||||
#define LWM2M_PROTOCOL_VERSION_MINOR 1
|
||||
#else
|
||||
#define LWM2M_PROTOCOL_VERSION_MINOR 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue