Skip to content

Commit d272b9c

Browse files
Add support to AwaLWM2M 0.2.3
Signed-off-by: Manohar Narkhede <[email protected]>
1 parent 9f7124a commit d272b9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ CONTIKI_WITH_RPL = 0
99
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\" -DVERSION='\"$(VERSION)\"'
1010
CFLAGS += -Wall -Wno-pointer-sign -DLWM2M_CLIENT
1111
CFLAGS += -I$(LWM2M_DIR)/api/include
12+
CFLAGS += -I$(LWM2M_DIR)/core/src/erbium/
1213

1314
ifneq (,$(filter $(TARGET),seedeye mikro-e))
1415
CFLAGS += -fno-short-double
1516
LDFLAGS += -Wl,--defsym,_min_heap_size=64000
1617
endif
1718

18-
APPS += er-coap
19-
APPS += rest-engine
19+
APPS += erbium
2020
APPS += client
2121
APPS += common
2222
APPS += jsmn

lwm2m-client-button-sensor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ PROCESS_THREAD(lwm2m_client, ev, data)
171171
static int WaitTime;
172172
WaitTime = AwaStaticClient_Process(client);
173173
etimer_set(&et, (WaitTime * CLOCK_SECOND) / 1000);
174-
PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et) || (ev == sensors_event));
174+
PROCESS_YIELD();
175175

176176
if (data == &button_sensor)
177177
{

0 commit comments

Comments
 (0)